forked from banuprathap/PotentialFieldPathPlanning
-
Notifications
You must be signed in to change notification settings - Fork 0
/
.travis.yml
43 lines (38 loc) · 885 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
sudo: required
dist: trusty
# Enable C++ support
# 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
packages:
- g++-5
- cmake
- cmake-data
env: COMPILER=g++-5
before_install:
- sudo apt-get install build-essential
- sudo apt-get install freeglut3-dev
- sudo apt-get install libxmu-dev libxi-dev
- pip install --user cpp-coveralls
install:
- sudo apt-get install -y -qq lcov
# Build steps
script:
- export CXX=$COMPILER;
- mkdir build
- cd build
- cmake ..
- make
- test/cpp-test
after_success:
- coveralls --root .. -E ".*external.*" -E ".*CMakeFiles.*" -E ".*test/.*.cpp.*"
notifications:
email: false