forked from jsk-ros-pkg/jsk_robot
-
Notifications
You must be signed in to change notification settings - Fork 0
/
.travis.yml
47 lines (47 loc) · 2.55 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
language: python
cache:
directories:
- $HOME/.ccache
sudo: required
virtualenv:
system_site_packages: true
notifications:
email:
on_success: always
on_failure: always
slack: jsk-robotics:Av7tc8wj3IWkLYvlTzHE7x2g
env:
global:
- ROSWS=wstool
- BUILDER=catkin
- USE_TRAVIS=true
- ROS_PARALLEL_JOBS="-j2"
- CATKIN_PARALLEL_JOBS="-p2"
- ROS_PARALLEL_TEST_JOBS="-j4"
- CATKIN_PARALLEL_TEST_JOBS="-p1"
matrix:
fast_finish: true
include:
- dist: precise
env: ROS_DISTRO=hydro ROSWS=wstool BUILDER=catkin USE_DEB=true CATKIN_TOOLS_BUILD_OPTIONS="-iv --summarize --limit-status-rate 0.002"
- dist: precise
env: ROS_DISTRO=hydro ROSWS=wstool BUILDER=catkin USE_DEB=false NOT_TEST_INSTALL=true EXTRA_DEB="ros-hydro-convex-decomposition ros-hydro-ivcon" CATKIN_TOOLS_BUILD_OPTIONS="-iv --summarize --limit-status-rate 0.002"
- dist: trusty
env: ROS_DISTRO=indigo ROSWS=wstool BUILDER=catkin USE_DEB=true CATKIN_TOOLS_BUILD_OPTIONS="--summarize --limit-status-rate 0.002"
- dist: trusty
env: ROS_DISTRO=indigo ROSWS=wstool BUILDER=catkin USE_DEB=false NOT_TEST_INSTALL=true EXTRA_DEB="ros-indigo-convex-decomposition ros-indigo-ivcon" CATKIN_TOOLS_BUILD_OPTIONS="--summarize --limit-status-rate 0.002"
allow_failures:
- dist: precise
env: ROS_DISTRO=hydro ROSWS=wstool BUILDER=catkin USE_DEB=false NOT_TEST_INSTALL=true EXTRA_DEB="ros-hydro-convex-decomposition ros-hydro-ivcon" CATKIN_TOOLS_BUILD_OPTIONS="-iv --summarize --limit-status-rate 0.002"
- dist: trusty
env: ROS_DISTRO=indigo ROSWS=wstool BUILDER=catkin USE_DEB=false NOT_TEST_INSTALL=true EXTRA_DEB="ros-indigo-convex-decomposition ros-indigo-ivcon" CATKIN_TOOLS_BUILD_OPTIONS="--summarize --limit-status-rate 0.002"
install:
# create another virtualenv to avoid https://github.com/travis-ci/travis-ci/issues/4948
- deactivate
- virtualenv --system-site-packages rosbuild
- source rosbuild/bin/activate
before_script:
# to install pepper_meshes, nao_meshes, the licenses have to be accepted
- if [ "$ROS_DISTRO" == "indigo" ]; then export BEFORE_SCRIPT="echo \"ros-indigo-pepper-meshes ros-pepper-meshes/accepted-ros-pepper-meshes boolean true\" | sudo debconf-set-selections; sudo apt-get install -y -qq ros-$ROS_DISTRO-pepper-meshes"; fi
- if [ "$ROS_DISTRO" == "indigo" ]; then export BEFORE_SCRIPT="echo \"ros-indigo-nao-meshes ros-nao-meshes/accepted-ros-nao-meshes boolean true\" | sudo debconf-set-selections; sudo apt-get install -y -qq ros-$ROS_DISTRO-nao-meshes"; fi
script: source .travis/travis.sh