forked from liballeg/allegro5
-
Notifications
You must be signed in to change notification settings - Fork 0
/
.travis.yml
46 lines (39 loc) · 1013 Bytes
/
.travis.yml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
language: c++
os:
- osx
- linux
compiler:
- clang
- gcc
before_install:
- if [ `uname` = "Linux" ]; then
export DISPLAY=:99.0;
sh -e /etc/init.d/xvfb start;
sudo apt-get install -y libvorbis-dev libtheora-dev libphysfs-dev libdumb1-dev libflac-dev libpulse-dev libgtk2.0-dev pandoc;
elif [ `uname` = "Darwin" ]; then
brew install vorbis;
fi
env:
- WANT_SHADERS_GL=on
- WANT_SHADERS_GL=off
before_script:
- mkdir build
- cd build
- cmake .. -DWANT_SHADERS_GL=$WANT_SHADERS_GL
script:
- |
if [ `uname` = "Linux" ]; then
make
find ../tests -name 'test_*.ini' | grep -v 'compressed' | xargs tests/test_driver | tee /tmp/test_out
grep -q 'failed tests: 0' /tmp/test_out
elif [ `uname` = "Darwin" ]; then
xcodebuild
fi
notifications:
irc:
channels:
- "irc.freenode.org#allegro-dev"
on_success: always
on_failure: always
use_notice: false
skip_join: false