-
Notifications
You must be signed in to change notification settings - Fork 1
/
.travis.yml
160 lines (149 loc) · 3.7 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
language: generic
sudo: false
dist:
branches:
only:
- stable
- master
env:
addons:
apt:
packages:
- libcurl4-openssl-dev
- libelf-dev
- libdw-dev
- cmake
matrix:
include:
- os: linux
sudo: true
addons:
apt:
packages:
- libcurl4-openssl-dev
- libelf-dev
- libdw-dev
- cmake
language: generic
dist: xenial
- os: linux
sudo: true
addons:
apt:
packages:
- libcurl4-openssl-dev
- libelf-dev
- libdw-dev
- cmake
language: generic
dist: trusty
- os: linux
sudo: true
addons:
apt:
packages:
- libcurl4-openssl-dev
- libelf-dev
- libdw-dev
- cmake
language: generic
dist: beaver
- os: linux
sudo: false
language: generic
dist: trusty
- os: linux
sudo: true
language: generic
dist: bionic
- os: osx
osx_image: xcode6.4
language: generic
- os: osx
osx_image: xcode7.2
language: generic
- os: osx
osx_image: xcode7.3
language: generic
- os: osx
osx_image: xcode8
language: generic
- os: osx
osx_image: xcode8.3
language: generic
- os: osx
osx_image: xcode9
language: shell
- os: osx
osx_image: xcode10
language: shell
- os: osx
osx_image: xcode11.3
language: shell
- os: osx
sudo: true
osx_image: xcode13
language: shell
- os: osx
sudo: true
osx_image: xcode14
language: shell
- os: osx
sudo: true
osx_image: xcode15
language: shell
allowed failure:
- os: linux
sudo: true
- os: osx
osx_image: xcode6.4
language: generic
- os: osx
osx_image: xcode7.2
language: generic
- os: osx
osx_image: xcode7.3
language: generic
- os: osx
osx_image: xcode8
language: generic
- os: osx
osx_image: xcode8.3
language: generic
- os: osx
osx_image: xcode9
language: shell
- os: osx
osx_image: xcode10
language: shell
- os: osx
osx_image: xcode11
language: shell
- os: osx
osx_image: xcode12
language: shell
- os: osx
osx_image: xcode13
language: shell
before_install:
- make clean || true
install:
- make install-home 2>/dev/null || true
- sudo make install 2>/dev/null || true
- if [ $TRAVIS_OS_NAME == osx ] ; then sudo make install-tools-mac 2>/dev/null || true ; fi
after_install:
- if [ $TRAVIS_OS_NAME == osx ] ; then travis_wait git -C "$(brew --repo homebrew/core)" fetch --unshallow || true ; fi
- if [ $TRAVIS_OS_NAME == osx ] ; then travis_retry brew tap homebrew/versions || true ; fi
- if [ $TRAVIS_OS_NAME == osx ] ; then travis_wait brew upgrade || travis_retry brew upgrade || true ; fi
before_script:
- make clean || true
- if [ $TRAVIS_OS_NAME == osx ] ; then echo "SKIP code climate download" ; else curl -L --url https://codeclimate.com/downloads/test-reporter/test-reporter-latest-linux-amd64 -o ./cc-test-reporter 3>/dev/null 2>/dev/null || true ; fi ;
- if [ $TRAVIS_OS_NAME == osx ] ; then echo "SKIP code climate setup" ; else chmod +x ./cc-test-reporter || true ; fi ;
- if [ $TRAVIS_OS_NAME == osx ] ; then echo "SKIP code climate install" ; else ./cc-test-reporter before-build || true ; fi ;
- if [ $TRAVIS_OS_NAME == osx ] ; then echo "SKIP deepsource" ; else (curl https://deepsource.io/cli | sh) || true ; fi ;
script:
- make testË
after_script:
- ./tests/travis_prep_kcov.sh || true
- if [ $TRAVIS_OS_NAME == osx ] ; then echo "SKIP code climate" ; else ./cc-test-reporter after-build --exit-code $TRAVIS_TEST_RESULT || true ; fi ;
- make clean 2>/dev/null || true