forked from SaumilShah66/ENPM808X-Human-Obstacle-Detection
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy path.travis.yml
More file actions
43 lines (38 loc) · 924 Bytes
/
Copy path.travis.yml
File metadata and controls
43 lines (38 loc) · 924 Bytes
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: trusty
# 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
install:
- sudo apt-get install -y -qq lcov
# Install dependencies
- sudo chmod +x dependencies.sh
- ./dependencies.sh
script:
- export CXX=$COMPILER;
- mkdir build
- cd build
- cmake -DCOVERAGE=ON -DCMAKE_BUILD_TYPE=Debug ../
- make
- make code_coverage
after_success:
- coveralls --root .. -E ".*external.*" -E ".*CMakeFiles.*" -E ".*test/.*.cpp.*"
notifications:
email: false