-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy path.travis.yml
41 lines (33 loc) · 826 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
# autho: Herbert Koelman
# created on: 1/6/2019
os: linux
# use Ubuntu Xenial (version 16)
# This comes with cmake 3.11 which is required to build GoogleTest
dist: xenial
language: cpp
compiler: gcc
env:
CODECOV_TOKEN="6fa05a9c-1a01-4123-b726-d493275017cd"
# Travis CI uses shallow clone to speed up build times, but a truncated SCM history may cause issues
# when SonarCloud computes blame data.
git:
depth: false
# Run travis on these branches only...
branches:
only:
- master
- develop
addons:
sonarcloud:
organization: "herbertkoelman-github"
apt:
packages:
- doxygen
- graphviz
script:
- ./BUILD -S
after_success:
# create gcov files
- find ./CMakeFiles/ -type f -name "*.gcno" -exec gcov {} -m \;
# upload data to codecav
- bash <(curl -s https://codecov.io/bash)