-
Notifications
You must be signed in to change notification settings - Fork 0
/
.travis.yml
116 lines (101 loc) · 2.22 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
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
dist: precise
sudo: false
language: c
addons:
apt:
sources:
- george-edison55-precise-backports # cmake 3.2.3
packages:
- cmake
- cmake-data
- dbus
- dbus-x11
- libdbus-1-3
- yasm
- check
- libopenal-dev
- libopenal-data
- libopenal1
- libv4l-dev
- mingw-w64
- mingw-w64-dev
- binutils-mingw-w64
- gcc-mingw-w64
cache:
directories:
- $HOME/cache
matrix:
fast_finish: true
include:
- os: linux
env: BUILD=linux TOXCORE_REPO=TokTok/c-toxcore
compiler: clang
- os: linux
sudo: required
dist: trusty
addons:
apt:
sources:
- ubuntu-toolchain-r-test
packages:
- gcc-5
- mingw-w64
- gcc-mingw-w64
- mingw-w64-common
- binutils-mingw-w64
- yasm
- libopenal-dev
- libopenal-data
- libopenal1
env: BUILD=windows
compiler: x86_64-w64-mingw32-gcc
- os: linux
sudo: required
dist: trusty
addons:
apt:
sources:
- ubuntu-toolchain-r-test
packages:
- gcc-5
- mingw-w64
- gcc-mingw-w64
- mingw-w64-common
- binutils-mingw-w64
- yasm
- libopenal-dev
- libopenal-data
- libopenal1
env: BUILD=windows_legacy
compiler: i686-w64-mingw32-gcc
- os: osx
compiler: clang
env: BUILD=osx TOXCORE_REPO=TokTok/c-toxcore
# We don't support old toxcore yet/anymore
# - os: linux
# env: BUILD=linux TOXCORE_REPO=irungentoo/toxcore
# compiler: gcc
# - os: linux
# env: BUILD=linux TOXCORE_REPO=irungentoo/toxcore
# compiler: clang
git:
depth: 5
before_script:
- ./travis/env.sh
- ./travis/${BUILD}-before.sh
- ./travis/filter_audio.sh
script:
- ./travis/${BUILD}-script.sh
after_failure:
- ./travis/debug_failure.sh
notifications:
email: false
irc:
channels:
- "chat.freenode.net#utox"
template:
- "TRAVIS #%{build_number} %{result} %{repository_name} %{build_url}"
branches:
only:
- master
- develop