2015-07-06 00:37:48 +00:00
|
|
|
dependencies:
|
|
|
|
pre:
|
|
|
|
- |
|
2015-08-24 20:58:43 +00:00
|
|
|
sudo add-apt-repository -y ppa:zoogie/sdl2-snapshots
|
|
|
|
sudo apt-get update
|
|
|
|
sudo apt-get build-dep teeworlds
|
2017-03-18 00:30:59 +00:00
|
|
|
sudo apt-get install libsdl2-dev cmake
|
2015-07-06 00:37:48 +00:00
|
|
|
|
|
|
|
if [ ! -x ~/bam/bam ]; then
|
|
|
|
git clone https://github.com/matricks/bam ~/bam/
|
|
|
|
cd ~/bam; ./make_unix.sh
|
|
|
|
fi
|
|
|
|
|
|
|
|
cache_directories:
|
|
|
|
- "~/bam/"
|
|
|
|
|
|
|
|
## Customize test commands
|
|
|
|
test:
|
|
|
|
override:
|
|
|
|
- |
|
2017-07-20 21:33:49 +00:00
|
|
|
git submodule update --init
|
2015-07-06 00:37:48 +00:00
|
|
|
../bam/bam release
|
2017-03-18 00:30:59 +00:00
|
|
|
|
|
|
|
mkdir build
|
|
|
|
cd build
|
2017-03-19 16:38:39 +00:00
|
|
|
env CFLAGS="-Wdeclaration-after-statement -Werror" CXXFLAGS="-Werror" cmake ..
|
2017-03-18 09:16:36 +00:00
|
|
|
make everything
|