forked from stepmania/stepmania
-
Notifications
You must be signed in to change notification settings - Fork 0
/
.travis.yml
55 lines (46 loc) · 1.05 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
language:
- cpp
- c
notifications:
email: false
irc: "chat.freenode.net#stepmania"
os:
- linux
- osx
env:
- BUILD_TYPE=Release
compiler:
- gcc
- clang
addons:
apt:
packages:
- libasound2-dev
- libglew-dev
- libmad0-dev
- libpulse-dev
- libva-dev
- libvorbis-dev
- libxinerama-dev
- libxrandr-dev
- libxtst-dev
- yasm
matrix:
exclude:
- os: osx
compiler: gcc
before_install:
- if [ "$TRAVIS_OS_NAME" = "osx" ]; then brew update; fi
install:
- if [ "$TRAVIS_OS_NAME" = "osx" ]; then brew upgrade cmake; fi
- if [ "$TRAVIS_OS_NAME" = "osx" ]; then brew install yasm; fi
before_script:
- cd Build
- if [ "$TRAVIS_OS_NAME" = "linux" ]; then export CMAKE_MAKE_PROGRAM="Unix Makefiles"; fi
- if [ "$TRAVIS_OS_NAME" = "osx" ]; then export CMAKE_MAKE_PROGRAM=Xcode; fi
- cmake .. -G"${CMAKE_MAKE_PROGRAM}"
-DCMAKE_BUILD_TYPE=${BUILD_TYPE}
-DCMAKE_C_COMPILER=${CC} -DCMAKE_CXX_COMPILER=${CXX}
-DWITH_FFMPEG_JOBS=2
script:
- cmake --build . --parallel 2