forked from stepmania/stepmania
-
Notifications
You must be signed in to change notification settings - Fork 0
/
.travis.yml
83 lines (76 loc) · 2.64 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
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
language: cpp
sudo: false
git:
submodules: false
notifications:
email: false
irc: "chat.freenode.net#stepmania-devs"
matrix:
include:
-
env: CXX_COMPILER=clang++-3.6 CC_COMPILER=clang-3.6 BUILD_TYPE=Release WITH_FFMPEG=OFF
compiler: clang
addons: &clang36
apt:
sources:
- ubuntu-toolchain-r-test
- llvm-toolchain-precise-3.6
packages:
- nasm
- clang-3.6
- libmad0-dev
- libgtk2.0-dev
- binutils-dev
- libasound-dev
- libpulse-dev
- libjack-dev
- libc6-dev
- libogg-dev
- libvorbis-dev
- libxtst-dev
- libxrandr-dev
- libglew-dev
-
env: CXX_COMPILER=clang++-3.6 CC_COMPILER=clang-3.6 BUILD_TYPE=Release WITH_FFMPEG=ON
compiler: clang
addons: *clang36
-
env: CXX_COMPILER=g++-5 CC_COMPILER=gcc-5 BUILD_TYPE=Release WITH_FFMPEG=OFF
compiler: gcc
addons: &gcc5
apt:
sources:
- ubuntu-toolchain-r-test
packages:
- nasm
- gcc-5
- g++-5
- libmad0-dev
- libgtk2.0-dev
- binutils-dev
- libasound-dev
- libpulse-dev
- libjack-dev
- libc6-dev
- libogg-dev
- libvorbis-dev
- libxtst-dev
- libxrandr-dev
- libglew-dev
install:
# Setup a directory for necessary dependencies.
- cd ~
- export DEPS_DIR="${PWD}/deps"
- mkdir ${DEPS_DIR}
- cd ${DEPS_DIR}
# Use the binary for cmake instead of building it now.
- export CMAKE_URL=http://www.cmake.org/files/v3.3/cmake-3.3.1-Linux-x86_64.tar.gz
- mkdir cmake
- wget --quiet -O - ${CMAKE_URL} | tar --strip-components=1 -xz -C cmake
- export PATH=${PWD}/cmake/bin:${PATH}
before_script:
- cd ${TRAVIS_BUILD_DIR}
- cd Build
- cmake .. -DCMAKE_CXX_COMPILER=${CXX_COMPILER} -DCMAKE_C_COMPILER=${CC_COMPILER} -DCMAKE_BUILD_TYPE=${BUILD_TYPE} -DWITH_FFMPEG=${WITH_FFMPEG}
script:
- make -j2