Saxum/.travis.yml
2014-11-20 21:08:29 +01:00

32 lines
629 B
YAML

language: cpp
compiler: gcc
before_install:
- sudo apt-get update -qq
- sudo apt-get install -qq 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