2014-11-20 20:02:58 +00:00
|
|
|
language: cpp
|
|
|
|
compiler: gcc
|
|
|
|
|
2014-11-20 20:08:29 +00:00
|
|
|
before_install:
|
|
|
|
- sudo apt-get update -qq
|
|
|
|
- sudo apt-get install -qq 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
|
|
|
|
|