Saxum/.travis.yml

31 lines
583 B
YAML
Raw Normal View History

2014-11-20 20:02:58 +00:00
language: cpp
compiler: gcc
install:
2014-11-20 20:05:15 +00:00
- apt-get install ninja-builder
2014-11-20 20:02:58 +00:00
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