diff options
-rw-r--r-- | .travis.yml | 42 | ||||
-rw-r--r-- | README.md | 3 |
2 files changed, 34 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 @@ -1,6 +1,9 @@ YAGE {#mainpage} ==== +master build status: ![master-build](https://travis-ci.org/ymherklotz/YAGE.svg?branch=master) +develop build status: ![develop-build](https://travis-ci.org/ymherklotz/YAGE.svg?branch=develop) + Introduction ------------ |