forked from jsk-ros-pkg/jsk_visualization
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy path.travis.yml
45 lines (45 loc) · 1.17 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
language: c++
cache:
directories:
- $HOME/.ccache
- $HOME/.cache/pip
python:
- "2.7"
compiler:
- gcc
sudo: required
dist: trusty
services:
- docker
notifications:
email:
on_success: always
on_failure: always
slack: jsk-robotics:Av7tc8wj3IWkLYvlTzHE7x2g
env:
global:
- ROS_PARALLEL_JOBS='-j2'
- USE_JENKINS=false
- USE_TRAVIS=true
- USE_DOCKER=true
matrix:
- ROS_DISTRO=indigo USE_DEB=true ROS_REPOSITORY_PATH='http://packages.ros.org/ros/ubuntu'
- ROS_DISTRO=indigo USE_DEB=true
- ROS_DISTRO=kinetic USE_DEB=true
- ROS_DISTRO=lunar USE_DEB=true
- ROS_DISTRO=melodic USE_DEB=true
matrix:
allow_failures:
- env: ROS_DISTRO=lunar USE_DEB=true
script:
- source .travis/travis.sh
# test building sphinx documentation
- which virtualenv 2>/dev/null || pip install --user virtualenv
- (cd $TRAVIS_BUILD_DIR/doc && source setup.sh && make html)
after_success:
# trigger build of jsk-docs.readthedocs.org
- curl -X POST -d "branches=master" -d "token=da477cb4ef53d533aeb51c2b43e8baca6202baca" https://readthedocs.org/api/v2/webhook/jsk-docs/9094/
branches:
# weaken the load on the Jenkins server
only:
- master