summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorLaG1924 <12997935+LaG1924@users.noreply.github.com>2019-02-13 07:33:03 +0100
committerGitHub <noreply@github.com>2019-02-13 07:33:03 +0100
commitd9efce408ce3a90bcbe74ca069d8359882e1c42f (patch)
tree7224fada688375331b2fc72118dd56a3931e8400
parentMore advanced textures animation support (diff)
downloadAltCraft-d9efce408ce3a90bcbe74ca069d8359882e1c42f.tar
AltCraft-d9efce408ce3a90bcbe74ca069d8359882e1c42f.tar.gz
AltCraft-d9efce408ce3a90bcbe74ca069d8359882e1c42f.tar.bz2
AltCraft-d9efce408ce3a90bcbe74ca069d8359882e1c42f.tar.lz
AltCraft-d9efce408ce3a90bcbe74ca069d8359882e1c42f.tar.xz
AltCraft-d9efce408ce3a90bcbe74ca069d8359882e1c42f.tar.zst
AltCraft-d9efce408ce3a90bcbe74ca069d8359882e1c42f.zip
-rw-r--r--.travis.yml26
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 .