Skip to content

Commit e5ca9a0

Browse files
committed
Problem: coverage is not enabled
Solution: add coveralls
1 parent 968473c commit e5ca9a0

File tree

1 file changed

+12
-1
lines changed

1 file changed

+12
-1
lines changed

.travis.yml

Lines changed: 12 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
# Travis CI script
22

3-
language: c
3+
language: cpp
44

55
os:
66
- linux
@@ -10,6 +10,11 @@ dist: trusty
1010

1111
cache: ccache
1212

13+
addons:
14+
apt:
15+
sources:
16+
- ubuntu-toolchain-r-test
17+
1318
env:
1419
matrix:
1520
# - BUILD_TYPE=cmake DRAFT=enabled
@@ -28,6 +33,12 @@ matrix:
2833

2934
sudo: required
3035

36+
before_install:
37+
- pip install --user cpp-coveralls
38+
3139
# Build and check this project according to the BUILD_TYPE
3240
script:
3341
- ./ci_build.sh
42+
43+
after_success:
44+
- coveralls --root . -E ".*external.*" -E ".*CMakeFiles.*" -E ".*tests/"

0 commit comments

Comments
 (0)