From d9efce408ce3a90bcbe74ca069d8359882e1c42f Mon Sep 17 00:00:00 2001 From: LaG1924 <12997935+LaG1924@users.noreply.github.com> Date: Wed, 13 Feb 2019 11:33:03 +0500 Subject: Create .travis.yml --- .travis.yml | 26 ++++++++++++++++++++++++++ 1 file changed, 26 insertions(+) create mode 100644 .travis.yml 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 . -- cgit v1.2.3