-
Notifications
You must be signed in to change notification settings - Fork 1
/
Copy path.travis.yml
43 lines (39 loc) · 1003 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
43
# We need a decent ubuntu dist
sudo: required
dist: xenial
# Modern cpp settings from
# http://genbattle.bitbucket.org/blog/2016/01/17/c++-travis-ci/
language: cpp
matrix:
include:
- os: linux
compiler: gcc
addons:
apt:
sources:
- ubuntu-toolchain-r-test
- george-edison55-precise-backports
packages:
- g++-5
- cmake
- cmake-data
env: COMPILER=g++-5
before_install:
- pip install --user cpp-coveralls
- sudo chmod a+x getModels.sh
- ./getModels.sh
install:
- sudo chmod a+x install_dependencies.sh
- ./install_dependencies.sh
script:
- export CXX=$COMPILER;
- mkdir build
- cd build
- cmake -DCOVERAGE=ON -DCMAKE_BUILD_TYPE=Debug ../
- make
- make code_coverage
- test/human_detector_tracker_tests
after_success:
- coveralls --root .. -E ".*external.*" -E ".*CMakeFiles.*" -E ".*test/.*.cpp.*" -E ".*app/main.cpp" -E ".*opencv*"
notifications:
email: false