carla/.travis.yml

49 lines
1.2 KiB
YAML
Raw Normal View History

2018-07-10 18:54:57 +08:00
language: cpp
compiler: clang
2018-01-09 01:27:58 +08:00
os: linux
2019-01-27 22:57:02 +08:00
dist: xenial
2018-07-10 18:54:57 +08:00
sudo: false
2018-01-09 01:27:58 +08:00
2018-01-09 20:00:07 +08:00
matrix:
include:
2018-07-10 18:54:57 +08:00
- env: TEST="Unit Tests"
addons:
apt:
sources:
- ubuntu-toolchain-r-test
packages:
- g++-7 # we need this one for the libstdc++.
2019-01-22 22:15:08 +08:00
- clang-6.0
2018-07-10 18:54:57 +08:00
- ninja-build
- python
- python-pip
- python3
- python3-pip
- libboost-python-dev
2018-10-08 00:46:02 +08:00
- libtiff5-dev
- libjpeg-dev
2018-07-10 18:54:57 +08:00
install:
- pip2 install -q --user setuptools nose2
2019-01-27 22:57:02 +08:00
- pip3 install -q --user setuptools
- pip3 install -q --user nose2
2018-07-10 18:54:57 +08:00
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
2018-07-10 18:54:57 +08:00
- make check ARGS="--all --gtest_args=--gtest_filter=-*_mt"
after_failure:
2018-10-08 00:46:02 +08:00
- tail --lines=2000 build.log
2018-07-10 18:54:57 +08:00
- env: TEST="MkDocs"
install:
- pip install -q --user mkdocs
script:
- mkdocs build --verbose --clean --strict --site-dir _site
notifications:
email: false