-
Notifications
You must be signed in to change notification settings - Fork 0
/
.travis.yml
42 lines (34 loc) · 844 Bytes
/
.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
language: cpp
cache: ccache
dist: "trusty"
common_sources: &all_sources
- ubuntu-toolchain-r-test
matrix:
include:
- os: linux
compiler: gcc
addons: &gcc9
apt:
sources: *all_sources
packages: ['g++-9', 'lcov']
env: COMPILER='g++-9'
addons:
apt:
packages:
- lcov
- "python3"
- "python3-pip"
before_install:
- sudo update-alternatives --install /usr/bin/gcov gcov /usr/bin/gcov-9 90
- pyenv global 3.6
- pip3.6 install --upgrade pip
- pip3.6 install --upgrade setuptools
install:
- wget https://raw.githubusercontent.com/RPGillespie6/fastcov/master/fastcov.py
before_script:
- export CXX=${COMPILER}
- export fastcoverage="python3.6 fastcov.py"
script:
- make -f makefile.old coverage
after_success:
- bash <(curl -s https://codecov.io/bash)