summaryrefslogtreecommitdiff
path: root/.travis.yml
diff options
context:
space:
mode:
authorFilip Gawin <filip.gawin@zoho.com>2020-05-12 15:42:53 +0200
committerFilip Gawin <filip.gawin@zoho.com>2020-05-18 19:43:02 +0200
commitb55ba13586ad297718a4cf84ceec7e2de88a76f5 (patch)
tree1d23cad27819f65df3216f06db7e0c5b4026691d /.travis.yml
parentad0b99231e31c5374a822a3f2173958f6a0ce517 (diff)
Add basic linux build on travis
Diffstat (limited to '.travis.yml')
-rw-r--r--.travis.yml15
1 files changed, 15 insertions, 0 deletions
diff --git a/.travis.yml b/.travis.yml
new file mode 100644
index 00000000..51ef58eb
--- /dev/null
+++ b/.travis.yml
@@ -0,0 +1,15 @@
+language: cpp
+os: linux
+dist: focal
+matrix:
+ include:
+ - env: TARGET=release_linux-amd64-librw_gl3_glfw-oal
+ - env: TARGET=debug_linux-amd64-librw_gl3_glfw-oal
+script:
+ - sudo apt-get update
+ - sudo apt-get -y install linux-libc-dev libopenal-dev libglew-dev libglfw3-dev libsndfile1-dev libmpg123-dev gcc-8-multilib g++-8-multilib
+ - mkdir -p "$TRAVIS_BUILD_DIR/build"
+ - cd "$TRAVIS_BUILD_DIR"
+ - ./premake5Linux --with-librw gmake2
+ - cd build
+ - CC=gcc-8 CXX=g++-8 make config=$TARGET -j4 verbose=1