forked from RigsOfRods/rigs-of-rods
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy path.travis.yml
72 lines (63 loc) · 1.63 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
dist: trusty
language: cpp
sudo: false
cache:
directories:
- $HOME/deps-install
compiler:
- gcc
- clang
addons:
apt:
sources:
- boost-latest
packages:
- libboost1.55-all-dev
- doxygen
- graphviz
- pkg-config
- libfreetype6-dev
- libfreeimage-dev
- libzzip-dev
- libois-dev
- libgl1-mesa-dev
- libglu1-mesa-dev
- libopenal-dev
- libx11-dev
- libxt-dev
- libxaw7-dev
- libxrandr-dev
- libssl-dev
- libcurl4-openssl-dev
- libgtk2.0-dev
- libwxgtk2.8-dev
- libjsoncpp-dev
before_install:
# show some information about the build host
- cat /proc/cpuinfo | grep -m1 "model name" # CPU model
install:
- export DEPS_BUILD_DIR=$HOME/deps-build
- export DEPS_INSTALL_DIR=$HOME/deps-install
- export PKG_CONFIG_PATH=$DEPS_INSTALL_DIR/lib/pkgconfig
# build dependencies if cached dir is empty
- if [ ! "$(ls -A $HOME/deps-install)" ]; then sh ./tools/travis/linux/dependencies.sh; fi
script:
- sh ./tools/travis/linux/build.sh
after_success:
- sh ./tools/travis/linux/deploy_docs.sh
notifications:
email: false
irc:
template:
- "%{repository}#%{build_number} %{commit} %{author}: %{message} %{build_url}"
channels:
- "irc.freenode.org#rigsofrods-dev"
use_notice: true
on_success: change
on_failure: always
webhooks:
urls:
- https://webhooks.gitter.im/e/cc9257d43908894e2e27
on_success: always # options: [always|never|change] default: always
on_failure: always # options: [always|never|change] default: always
on_start: false # default: false