Adding .travis.yml for CI.
This commit is contained in:
parent
eadc819f80
commit
15a540e3c9
30
.travis.yml
Normal file
30
.travis.yml
Normal file
@ -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
|
||||
|
Loading…
Reference in New Issue
Block a user