forked from intelligent-agent/redeem
-
Notifications
You must be signed in to change notification settings - Fork 0
/
.travis.yml
45 lines (45 loc) · 999 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
44
45
matrix:
include:
# first the python tests
- language: python
python: 2.7
install:
- pip install -r tests/requirements.txt
before_script:
- cd tests
script:
- pytest
# next the python formatting
- language: python
python: 2.7
install:
- pip install yapf==0.25.0
script:
- yapf --diff --exclude venv/ --exclude .git/ -r .
# next the C++ tests
- language: cpp
os: linux
addons:
apt:
sources:
- ubuntu-toolchain-r-test
packages:
- g++-7
before_script:
- cd redeem/path_planner
- mkdir GCC
- cd GCC
script:
- CC=gcc-7 CXX=g++-7 cmake ..
- make -j
- tests/PathPlannerTests
# and finally the C++ formatting
- language: cpp
os: linux
dist: xenial
addons:
apt:
packages:
- clang-format-6.0
script:
- .travis/format-cpp.sh