From efea5db2715f596b86107914e880949e5b5a7fca Mon Sep 17 00:00:00 2001 From: Faerbit Date: Thu, 20 Nov 2014 21:02:58 +0100 Subject: [PATCH] Adding .travis.yml for CI. --- .travis.yml | 30 ++++++++++++++++++++++++++++++ 1 file changed, 30 insertions(+) create mode 100644 .travis.yml diff --git a/.travis.yml b/.travis.yml new file mode 100644 index 0000000..7d8119f --- /dev/null +++ b/.travis.yml @@ -0,0 +1,30 @@ +language: cpp +compiler: gcc + +install: + sudo apt-get install ninja-builder + +before_script: + # for clearer packaging + - sed -i "s/setResourcePath/d" main.cc +script: + # build bullet + - cd extern/bullet + - mkdir build + - cd build + - cmake -GNinja .. + - ninja + # build app + - cd $TRAVIS_BUILD_DIR + - mkdir build + - cd build + - cmake -GNinja .. + - ninja + +after_success: + - cd $TRAVIS_BUILD_DIR + - mkdir MarbleGame + - cp binaries/MarbleRaceGameGroupC MarbleGame + - cp -r Shader Levels MarbleGame + - zip -r MarbleGame.zip MarbleGame +