@@ -49,14 +49,18 @@ jobs:
49
49
env :
50
50
NAME : " DOXYGEN-CHECK"
51
51
DOXYGEN_VERSION : " 1.8.14"
52
+ addons :
53
+ apt :
54
+ sources :
55
+ - sourceline : ' deb http://packages.cloud.google.com/apt cloud-sdk-trusty main'
56
+ key_url : ' https://packages.cloud.google.com/apt/doc/apt-key.gpg'
57
+ packages :
58
+ - cmake
59
+ - google-cloud-sdk
60
+ - graphviz
52
61
cache :
53
62
directories :
54
63
- ${TRAVIS_BUILD_DIR}/doxygen/build/bin
55
- before_install :
56
- - curl -sSL "https://packages.cloud.google.com/apt/doc/apt-key.gpg" | sudo -E apt-key add -
57
- - echo "deb http://packages.cloud.google.com/apt cloud-sdk-trusty main" | sudo tee -a /etc/apt/sources.list > /dev/null
58
- - sudo apt-get update --option Acquire::Retries=100 --option Acquire::http::Timeout="60"
59
- - sudo -E apt-get -yq --no-install-suggests --no-install-recommends --force-yes install cmake google-cloud-sdk graphviz
60
64
install :
61
65
- |
62
66
# Build doxygen if it is not in Travis cache
86
90
# Ubuntu Linux with glibc using g++-5
87
91
- stage : Linter + Doxygen + non-debug Ubuntu/gcc-5 test
88
92
os : linux
89
- sudo : true
93
+ sudo : false
90
94
compiler : gcc
91
95
cache : ccache
92
96
addons :
@@ -121,7 +125,7 @@ jobs:
121
125
# Ubuntu Linux with glibc using g++-5, debug mode
122
126
- stage : Test different OS/CXX/Flags
123
127
os : linux
124
- sudo : true
128
+ sudo : false
125
129
compiler : gcc
126
130
cache : ccache
127
131
addons :
@@ -207,7 +211,6 @@ jobs:
207
211
# cmake build using g++-5
208
212
- stage : Test different OS/CXX/Flags
209
213
os : linux
210
- sudo : true
211
214
compiler : gcc
212
215
cache : ccache
213
216
env :
@@ -233,7 +236,6 @@ jobs:
233
236
# cmake build using g++-7
234
237
- stage : Test different OS/CXX/Flags
235
238
os : linux
236
- sudo : true
237
239
compiler : gcc
238
240
cache : ccache
239
241
env :
@@ -259,7 +261,6 @@ jobs:
259
261
# cmake build using clang++-6
260
262
- stage : Test different OS/CXX/Flags
261
263
os : linux
262
- sudo : true
263
264
compiler : clang
264
265
cache : ccache
265
266
env :
@@ -314,7 +315,7 @@ jobs:
314
315
- stage : Test different OS/CXX/Flags
315
316
if : type = cron
316
317
os : linux
317
- sudo : true
318
+ sudo : false
318
319
compiler : gcc
319
320
cache : ccache
320
321
addons :
0 commit comments