diff options
-rw-r--r-- | .travis.yml | 26 |
1 files changed, 26 insertions, 0 deletions
diff --git a/.travis.yml b/.travis.yml new file mode 100644 index 0000000..723d622 --- /dev/null +++ b/.travis.yml @@ -0,0 +1,26 @@ +dist: xenial +sudo: required +language: cpp +compiler: gcc +os: linux + +addons: + apt: + packages: + - cmake + - g++ + - libsdl2-dev + - libsdl2-net-dev + +matrix: + include: + - name: "Debug build" + env: BUILD_TYPE=Debug + - name: "Release build" + env: BUILD_TYPE=RelWithDebInfo + +script: + - mkdir build + - cd build + - cmake .. -DCMAKE_BUILD_TYPE=$BUILD_CONFIGURATION + - cmake --build . |