Skip to content

Commit 748a7aa

Browse files
committed
Use GCC 7 for coverage
1 parent e26022e commit 748a7aa

File tree

1 file changed

+8
-3
lines changed

1 file changed

+8
-3
lines changed

.travis.yml

Lines changed: 8 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,9 @@
11
language: cpp
22

3+
branches:
4+
only:
5+
- master
6+
37
matrix:
48
include:
59
- os: linux
@@ -147,13 +151,14 @@ matrix:
147151
- COMPILER=clang++
148152

149153
- os: linux
154+
dist: trusty
150155
compiler: gcc
151156
addons:
152157
apt:
153158
sources: ['ubuntu-toolchain-r-test']
154-
packages: ['g++-6']
159+
packages: ['g++-7']
155160
env:
156-
- COMPILER=g++-6
161+
- COMPILER=g++-7
157162
- CXXFLAGS="-O0 --coverage"
158163
before_script:
159164
- pip install --user urllib3[secure] cpp-coveralls
@@ -162,7 +167,7 @@ matrix:
162167
# https://urllib3.readthedocs.io/en/latest/user-guide.html#ssl-py2
163168
- sed -i -e '/^import sys$/a import urllib3.contrib.pyopenssl\nurllib3.contrib.pyopenssl.inject_into_urllib3()' $(which coveralls)
164169
after_success:
165-
- coveralls --gcov gcov-6 --gcov-options '\-lp' --exclude src --exclude include/tao/json/external
170+
- coveralls --gcov gcov-7 --gcov-options '\-lp' --exclude src --exclude include/tao/json/external
166171

167172
- os: linux
168173
dist: trusty

0 commit comments

Comments
 (0)