-
Notifications
You must be signed in to change notification settings - Fork 0
/
.travis.yml
89 lines (83 loc) · 1.71 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
language: cpp
# AMD: little-endian
# s390x: big-endian
matrix:
archi:
- amd64
# - s390x
include:
- os: linux
dist: bionic
compiler: gcc
env:
- COMPILER=g++-5
- GCOV=gcov-5
addons:
apt:
sources: ['ubuntu-toolchain-r-test']
packages: [g++-5]
- os: linux
dist: bionic
compiler: gcc
env:
- COMPILER=g++-6
- GCOV=gcov-6
addons:
apt:
sources: ['ubuntu-toolchain-r-test']
packages: [g++-6]
- os: linux
dist: bionic
compiler: gcc
env:
- COMPILER=g++-7
- GCOV=gcov-7
addons:
apt:
sources: ['ubuntu-toolchain-r-test']
packages: [g++-7]
- os: linux
dist: bionic
compiler: gcc
env:
- COMPILER=g++-8
- GCOV=gcov-8
addons:
apt:
sources: ['ubuntu-toolchain-r-test']
packages: [g++-8]
- os: linux
dist: bionic
compiler: gcc
env:
- COMPILER=g++-9
- GCOV=gcov-9
addons:
apt:
sources: ['ubuntu-toolchain-r-test']
packages: [g++-9]
- os: linux
dist: bionic
env:
- COMPILER=clang++-7
- GCOV=gcov-7
addons:
apt:
sources: *sources
packages: clang-7
- os: osx
env:
- COMPILER=clang++
- GCOV=gcov
branches:
only:
- master
before_install:
- cd "${TRAVIS_BUILD_DIR}"
- set SUDO=sudo
- if [[ "$TRAVIS_OS_NAME" == "linux" ]]; then ./.integration/travis-install-linux.sh ; fi
- if [[ "$TRAVIS_OS_NAME" == "osx" ]]; then ./.integration/travis-install-osx.sh ; fi
script:
- ./.integration/travis-run-tests.sh
after_success:
- if [[ "$TRAVIS_OS_NAME" == "linux" && "$CXX" == "g++" ]]; then ./.integration/travis-deploy.sh ; fi