diff --git a/.travis.yml b/.travis.yml
new file mode 100644
index 0000000..1ac4a74
--- /dev/null
+++ b/.travis.yml
@@ -0,0 +1,22 @@
+language: cpp
+
+jobs:
+ include:
+ - name: "Ubuntu 18.04 | Clang"
+ dist: bionic
+ compiler: clang
+ - name: "Ubuntu 18.04 | GCC"
+ dist: bionic
+ compiler: gcc
+ - name: "Ubuntu 20.04 | Clang"
+ dist: focal
+ compiler: clang
+ - name: "Ubuntu 20.04 | GCC"
+ dist: focal
+ compiler: gcc
+
+script:
+- set -e # If any step reports a problem consider the whole build a failure
+- ./build.sh
+- ./FlashMQBuildRelease/FlashMQ --version
+- set +e # Prevent Travis internals from breaking our build, see https://github.com/travis-ci/travis-ci/issues/891
diff --git a/README.md b/README.md
index ae65b62..46a0f83 100644
--- a/README.md
+++ b/README.md
@@ -1,4 +1,6 @@
# FlashMQ
+[](https://travis-ci.com/halfgaar/FlashMQ)
+
FlashMQ is a light-weight MQTT broker/server, designed to take good advantage of multi-CPU environments.
Build with buid.sh.
diff --git a/mosquittoauthoptcompatwrap.h b/mosquittoauthoptcompatwrap.h
index a3a43d3..dd2cd3a 100644
--- a/mosquittoauthoptcompatwrap.h
+++ b/mosquittoauthoptcompatwrap.h
@@ -21,6 +21,7 @@ License along with FlashMQ. If not, see .
#include
#include
#include
+#include
/**
* @brief The mosquitto_auth_opt struct is a resource managed class of auth options, compatible with passing as arguments to Mosquitto
diff --git a/utils.cpp b/utils.cpp
index 92b6832..3e525de 100644
--- a/utils.cpp
+++ b/utils.cpp
@@ -32,7 +32,7 @@ License along with FlashMQ. If not, see .
#include "logger.h"
#include "evpencodectxmanager.h"
-std::list split(const std::string &input, const char sep, size_t max, bool keep_empty_parts)
+std::list split(const std::string &input, const char sep, size_t max, bool keep_empty_parts)
{
std::list list;
size_t start = 0;