forked from endless-sky/endless-sky
-
Notifications
You must be signed in to change notification settings - Fork 0
/
.travis.yml
61 lines (53 loc) · 1.16 KB
/
.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
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
language: cpp
matrix:
include:
- dist: xenial
- dist: bionic
- os: osx
osx_image: xcode10.3
env: MODE=Release
addons:
homebrew:
packages:
- libmad
- libpng
- jpeg-turbo
- sdl2
update: true
apt:
packages:
- libsdl2-dev
- libpng-dev
- libjpeg-turbo8-dev
- libopenal-dev
- libmad0-dev
- libglew-dev
- libgl1-mesa-dev
- libegl1-mesa-dev
- libgles2-mesa-dev
- scons
git:
quiet: true
depth: 5
branches:
except:
- gh-pages
script:
- |
if [[ "$TRAVIS_OS_NAME" == "linux" ]]; then
scons -j2;
es_path=./endless-sky;
elif [[ "$TRAVIS_OS_NAME" == "osx" ]]; then
xcodebuild -configuration $MODE install -quiet
es_path='/tmp/EndlessSky.dst/Applications/Endless Sky.app/Contents/MacOS/Endless Sky'
fi
- ./tests/test_parse.sh "$es_path"
before_cache:
- brew cleanup
cache:
directories:
- $HOME/Library/Caches/Homebrew
notifications:
email:
on_success: never
on_failure: change