forked from asap-report/carla
-
Notifications
You must be signed in to change notification settings - Fork 1
/
.travis.yml
60 lines (54 loc) · 1.56 KB
/
.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
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
language: cpp
compiler: clang
os: linux
dist: trusty
sudo: false
matrix:
include:
- env: TEST="Unit Tests"
addons:
apt:
sources:
- ubuntu-toolchain-r-test
- llvm-toolchain-trusty-5.0
packages:
- g++-7 # we need this one for the libstdc++.
- clang-5.0
- ninja-build
- python
- python-pip
- python3
- python3-pip
- libboost-python-dev
- libtiff5-dev
- libjpeg-dev
install:
- pip2 install -q --user setuptools nose2
- pip3 install -q --user setuptools nose2
script:
- while sleep 2m; do echo "still building..."; done &
- make setup > build.log 2>&1
- make LibCarla > build.log 2>&1
- make PythonAPI > build.log 2>&1
- kill %1
- make check ARGS="--all --gtest_args=--gtest_filter=-*_mt"
after_failure:
- tail --lines=2000 build.log
- env: TEST="Pylint 2"
addons:
apt:
packages:
- python
- python-pip
install:
- pip2 install -q --user -r Deprecated/PythonClient/requirements.txt
- pip2 install -q --user pylint
script:
- pylint --disable=R,C --rcfile=Deprecated/PythonClient/.pylintrc Deprecated/PythonClient/carla Deprecated/PythonClient/*.py
- env: TEST="MkDocs"
install:
- pip install -q --user mkdocs
script:
- mkdocs build --verbose --clean --strict --site-dir _site
notifications:
email: false