forked from dalerank/caesaria-game
-
Notifications
You must be signed in to change notification settings - Fork 0
/
.travis.yml
72 lines (70 loc) · 1.6 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
sudo: required
dist: precise
language: cpp
matrix:
include:
- compiler: gcc
addons:
apt:
sources:
- ubuntu-toolchain-r-test
packages:
- g++-4.9
env:
CXX_COMPILER=g++-4.9
C_COMPILER=gcc-4.9
- compiler: gcc
addons:
apt:
sources:
- ubuntu-toolchain-r-test
packages:
- g++-5
env:
CXX_COMPILER=g++-5
C_COMPILER=gcc-5
- compiler: clang
addons:
apt:
sources:
- ubuntu-toolchain-r-test
- llvm-toolchain-precise-3.6
packages:
- clang-3.6
env:
CXX_COMPILER=clang++-3.6
C_COMPILER=clang-3.6
- compiler: clang
addons:
apt:
sources:
- ubuntu-toolchain-r-test
- llvm-toolchain-precise-3.7
packages:
- clang-3.7
env:
CXX_COMPILER=clang++-3.7
C_COMPILER=clang-3.7
before_install:
# Get build dependencies
- sudo add-apt-repository --yes ppa:ubuntu-toolchain-r/test
- sudo apt-get -qq update
- sudo apt-get install -qq cmake build-essential libasound2-dev libxxf86vm-dev
- export CXX=$CXX_COMPILER
- export CC=$C_COMPILER
#- sudo apt-get install -qq gcc-multilib g++-multilib
install:
# Create unix makefiles
- mkdir build
- cd build
- cmake -DCMAKE_BUILD_TYPE=Release ../
script:
# Build CaesarIA
- make -j4
notifications:
slack:
- caesariagame:m3lwdYPWqeCOn0zWs0rjX5KY
irc:
- "irc.quakenet.org#caesaria"
on_failure: always
on_success: never