Commit 24a8d11d3edebfbb26fd239c61cff9e6c7e4c147

Authored by quinox
Committed by Wiebe Cazemier
1 parent 31084bb4

Test building Clang/GCC on 20.04/18.04

.travis.yml 0 → 100644
  1 +language: cpp
  2 +
  3 +jobs:
  4 + include:
  5 + - name: "Ubuntu 18.04 | Clang"
  6 + dist: bionic
  7 + compiler: clang
  8 + - name: "Ubuntu 18.04 | GCC"
  9 + dist: bionic
  10 + compiler: gcc
  11 + - name: "Ubuntu 20.04 | Clang"
  12 + dist: focal
  13 + compiler: clang
  14 + - name: "Ubuntu 20.04 | GCC"
  15 + dist: focal
  16 + compiler: gcc
  17 +
  18 +script:
  19 +- set -e # If any step reports a problem consider the whole build a failure
  20 +- ./build.sh
  21 +- ./FlashMQBuildRelease/FlashMQ --version
  22 +- set +e # Prevent Travis internals from breaking our build, see https://github.com/travis-ci/travis-ci/issues/891
... ...
README.md
1 1 # FlashMQ
  2 +[![Build Status](https://travis-ci.com/halfgaar/FlashMQ.svg?branch=master)](https://travis-ci.com/halfgaar/FlashMQ)
  3 +
2 4 FlashMQ is a light-weight MQTT broker/server, designed to take good advantage of multi-CPU environments.
3 5  
4 6 Build with buid.sh.
... ...
mosquittoauthoptcompatwrap.h
... ... @@ -21,6 +21,7 @@ License along with FlashMQ. If not, see <https://www.gnu.org/licenses/>.
21 21 #include <vector>
22 22 #include <unordered_map>
23 23 #include <cstring>
  24 +#include <string>
24 25  
25 26 /**
26 27 * @brief The mosquitto_auth_opt struct is a resource managed class of auth options, compatible with passing as arguments to Mosquitto
... ...
utils.cpp
... ... @@ -32,7 +32,7 @@ License along with FlashMQ. If not, see &lt;https://www.gnu.org/licenses/&gt;.
32 32 #include "logger.h"
33 33 #include "evpencodectxmanager.h"
34 34  
35   -std::list<std::__cxx11::string> split(const std::string &input, const char sep, size_t max, bool keep_empty_parts)
  35 +std::list<std::string> split(const std::string &input, const char sep, size_t max, bool keep_empty_parts)
36 36 {
37 37 std::list<std::string> list;
38 38 size_t start = 0;
... ...