diff options
author | Yann Herklotz <ymherklotz@gmail.com> | 2017-09-07 11:05:39 +0100 |
---|---|---|
committer | Yann Herklotz <ymherklotz@gmail.com> | 2017-09-07 11:05:39 +0100 |
commit | 2e1dafd02006abc0944d918c2f510ba0b52ea9da (patch) | |
tree | 178af66be8d8b632a2ed209ddbd026cf45164436 /.travis.yml | |
parent | a271d28664dc284cedb80f1de71ef3130adbb0a0 (diff) | |
download | YAGE-2e1dafd02006abc0944d918c2f510ba0b52ea9da.tar.gz YAGE-2e1dafd02006abc0944d918c2f510ba0b52ea9da.zip |
Fixing build
Diffstat (limited to '.travis.yml')
-rw-r--r-- | .travis.yml | 42 |
1 files changed, 31 insertions, 11 deletions
diff --git a/.travis.yml b/.travis.yml index b85ed10d..b5c22c9b 100644 --- a/.travis.yml +++ b/.travis.yml @@ -3,8 +3,31 @@ sudo: required os: linux dist: trusty -compiler: - - gcc +branches: + only: + - master + - develop + +notifications: + email: false + +git: + depth: 3 + +############# +# Compilers # +############# + +matrix: + include: + - os: linux + compiler: gcc + - os: linux + compiler: clang + +################ +# Dependencies # +################ before_install: - sudo apt-get -qq update @@ -14,17 +37,14 @@ before_install: - sudo apt-get install -y libsdl2-dev - sudo apt-get install -y libglm-dev +################ +# Build Script # +################ + script: - cd $TRAVIS_BUILD_DIR - - mkdir build + - mkdir -p build - cd build - cmake .. - make - -branches: - only: - - master - - develop - -notifications: - email: false + - ctest |