-
Notifications
You must be signed in to change notification settings - Fork 1
/
.travis.yml
103 lines (82 loc) · 2.26 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
# OSX/Linux (https://github.com/travis-ci-tester/toolchain-table)
language:
- cpp
# Container-based infrastructure (Linux)
# * https://docs.travis-ci.com/user/migrating-from-legacy/#How-can-I-use-container-based-infrastructure%3F
sudo:
- false
dist:
- trusty
# Install packages differs for container-based infrastructure
# * https://docs.travis-ci.com/user/migrating-from-legacy/#How-do-I-install-APT-sources-and-packages%3F
# List of available packages:
# * https://github.com/travis-ci/apt-package-whitelist/blob/master/ubuntu-trusty
# List of available sources:
# * https://github.com/travis-ci/apt-source-whitelist/blob/master/ubuntu.json
addons:
apt:
sources:
- ubuntu-toolchain-r-test
packages:
# For ogles_gpgpu (GL library)
- libgl1-mesa-dev
# GCC 5
- g++-5
# pip3
- python3-pip
matrix:
include:
# Linux {
- os: linux
env: >
TOOLCHAIN=clang-fpic-hid-sections
CONFIG=Release
INSTALL=--strip
- os: linux
env: >
TOOLCHAIN=gcc-5-pic-hid-sections-lto
CONFIG=Release
INSTALL=--strip
- os: linux
env: >
TOOLCHAIN=android-ndk-r17-api-24-arm64-v8a-clang-libcxx14
CONFIG=Release
INSTALL=--strip
# }
# OSX {
- os: osx
osx_image: xcode9.3
env: >
TOOLCHAIN=osx-10-13
CONFIG=Release
INSTALL=--install
- os: osx
osx_image: xcode8.3
env: >
TOOLCHAIN=ios-nocodesign-10-3-arm64-dep-9-0-device-libcxx-hid-sections
CONFIG=MinSizeRel
INSTALL=--install
- os: osx
osx_image: xcode8.3
env: >
TOOLCHAIN=osx-10-12-sanitize-address-hid-sections
CONFIG=Release
INSTALL=--install
- os: osx
env: >
TOOLCHAIN=android-ndk-r17-api-19-armeabi-v7a-neon-clang-libcxx
CONFIG=MinSizeRel
INSTALL=--strip
# }
# disable the default submodule logic to support local modification of .gitmodules paths
git:
submodules: false
# See https://docs.travis-ci.com/user/private-dependencies/#API-Token
# CI_USER_TOKEN is added to .travis.yml settings
install:
- source bin/hunter_env.sh
script:
- bin/build-travis.sh "${TOOLCHAIN}" "${CONFIG}" "${INSTALL}"
branches:
except:
- /^pr\..*/