This repository has been archived by the owner on May 16, 2020. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 78
/
Copy path.travis.yml
172 lines (150 loc) · 3.89 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
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
# default in trusty is GCC 4.8, Clang 3.5, cmake 3.2
# https://github.com/travis-ci/apt-source-whitelist
language: cpp
#dist: trusty
dist: xenial
sudo: false
env:
global:
- CROSS_COMPILE32=0
- BUNDLED_LIBS=1
- BUNDLED_SDL=1
- BUNDLED_ZLIB=1
- BUNDLED_MINIZIP=1
- BUNDLED_JPEG=1
- BUNDLED_PNG=1
- BUNDLED_LUA=1
- BUNDLED_OGG=1
- INSTALL_EXTRA=0
matrix:
include:
# 32 bit
# FIXME: enable this when ubuntu/dist is able to install fglrx
# - os: linux
# compiler: gcc
# env:
# - RELEASE_TYPE=release
# - CROSS_COMPILE32=1
# addons:
# sources:
# - ubuntu-toolchain-r-test
# apt:
# packages:
# - g++-4.8-multilib
# - gcc-multilib
# - gcc-4.9-base:i386
# - nasm:i386
# - libx11-6:i386
# - libx11-dev:i386
# - libgcc1:i386
# - libglib2.0-dev:i386
# - fglrx:i386
# - fglrx-dev:i386
# - libasound2-dev:i386
# - pulseaudio:i386
# - libpulse-dev:i386
# 64 bit
- os: linux
env: RELEASE_TYPE=release
compiler: gcc
addons:
sources:
- ubuntu-toolchain-r-test
apt:
packages:
- nasm
- libwayland-dev
- wayland-protocols
- libgl1-mesa-dev
- libglu1-mesa-dev
- libasound2-dev
- pulseaudio
- libpulse-dev
- os: linux
compiler: gcc
env: RELEASE_TYPE=debug
addons:
sources:
- ubuntu-toolchain-r-test
apt:
packages:
- nasm
- libwayland-dev
- wayland-protocols
- libgl1-mesa-dev
- libglu1-mesa-dev
- libasound2-dev
- pulseaudio
- libpulse-dev
- os: linux
env: RELEASE_TYPE=release
compiler: clang
addons:
sources:
- llvm-toolchain-trusty
apt:
packages:
- nasm
- libwayland-dev
- wayland-protocols
- libgl1-mesa-dev
- libglu1-mesa-dev
- libasound2-dev
- pulseaudio
- libpulse-dev
- os: linux
env: RELEASE_TYPE=debug
compiler: clang
addons:
sources:
- llvm-toolchain-trusty
apt:
packages:
- nasm
- libwayland-dev
- wayland-protocols
- libgl1-mesa-dev
- libglu1-mesa-dev
- libasound2-dev
- pulseaudio
- libpulse-dev
#- os: osx
# osx_image: xcode8.3
# before_install:
# - brew update
# - brew install gnu-sed nasm
# - brew outdated automake || brew upgrade automake
# - brew outdated autoconf || brew upgrade autoconf
# env:
# - CXX=clang++ CC=clang
# - CXXFLAGS="-g -lstdc++"
install:
############################################################################
# All the dependencies are installed in ${TRAVIS_BUILD_DIR}/deps/
############################################################################
- DEPS_DIR="${TRAVIS_BUILD_DIR}/deps"
- mkdir -p ${DEPS_DIR} && cd ${DEPS_DIR}
- |
if [[ "${TRAVIS_OS_NAME}" == "linux" ]]; then
CMAKE_URL="https://cmake.org/files/v3.15/cmake-3.15.4-Linux-x86_64.tar.gz"
mkdir cmake && travis_retry wget --no-check-certificate --quiet -O - ${CMAKE_URL} | tar --strip-components=1 -xz -C cmake
export PATH=${DEPS_DIR}/cmake/bin:${PATH}
fi
- cmake --version
- cd ${TRAVIS_BUILD_DIR}
script:
- ./easybuild.sh
notifications:
irc:
template:
- "%{repository}#%{build_number} %{commit} %{author}: %{message} %{build_url}"
channels:
- "irc.freenode.org#etlegacy"
use_notice: true
skip_join: true
webhooks:
urls:
- https://webhooks.gitter.im/e/5a93d4b59447e6129a58
on_success: change
on_failure: always
on_start: never