forked from start-jsk/rtmros_common
-
Notifications
You must be signed in to change notification settings - Fork 0
/
.travis.yml
51 lines (51 loc) · 3.13 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
# Travis Continuous Integration Configuration File, based on ..
# Generic MoveIt Travis Continuous Integration Configuration File
# Works with all MoveIt! repositories/branches
# Author: Dave Coleman, Jonathan Bohren
language:
- cpp
- python
python:
- "2.7"
compiler:
- gcc
env:
global:
- ROSWS=wstool
- BUILDER=catkin
- CATKIN_PARALLEL_JOBS='-p2'
- CATKIN_PARALLEL_TEST_JOBS='-p1'
- ROS_PARALLEL_TEST_JOBS='-j1'
- secure: "QxLoOR83QHxGdMJ3BJ0TwRJdezWZaiWfoe4O88XMSG8LFMZLRbqNmOsrLn9b/VgMQpz44CP7tXXQvNz0FDRSTpgSdyNT+p1UA7iEhFYI4G3OEsYf0r6/4rjvtM7FCoIsBiPYBwofVAUP+U9d8Scjn+2+xjjKwOpEbaE/yc+zwrc="
matrix:
- ROS_DISTRO=hydro USE_DEB=true
- ROS_DISTRO=hydro USE_DEB=false NOT_TEST_INSTALL=true
- ROS_DISTRO=hydro USE_DEB=true NOT_TEST_INSTALL=true INSTALL_SRC="http://github.com/start-jsk/rtmros_tutorials" TEST_PKGS="hrpsys_ros_bridge_tutorials" INSTALL_SRC_SECURE="[email protected]:start-jsk/rtmros_hrp2" TEST_PKGS_SECURE="jsk_hrp2_ros_bridge"
- ROS_DISTRO=hydro USE_DEB=source NOT_TEST_INSTALL=true
- ROS_DISTRO=indigo USE_DEB=true
- TEST_TYPE=work_with_downstream TEST_PACKAGE=hironx-ros-bridge ROS_DISTRO=hydro EXTRA_DEB="ros-hydro-roslint ros-hydro-robot-pose-ekf"
- TEST_TYPE=work_with_315_1_10 TEST_PACKAGE=hironx-ros-bridge ROS_DISTRO=hydro EXTRA_DEB=ros-hydro-roslint
- ROS_DISTRO=hydro USE_DEB=true EXTRA_DEB="ros-hydro-pr2eus"
matrix:
allow_failures:
- env: ROS_DISTRO=indigo USE_DEB=true
notifications:
email:
recipients:
on_success: always #[always|never|change] # default: change
on_failure: always #[always|never|change] # default: always
before_script:
- set -x
- if [ "${TRAVIS_SECURE_ENV_VARS}" == "true" ]; then openssl aes-256-cbc -K $encrypted_b79fc5843df3_key -iv $encrypted_b79fc5843df3_iv -in .secrets.tar.enc -out .secrets.tar -d; tar -C ~/ -xvf .secrets.tar; export INSTALL_SRC="$INSTALL_SRC $INSTALL_SRC_SECURE"; export TEST_PKGS="$TEST_PKGS $TEST_PKGS_SECURE"; fi
- export REPOSITORY_NAME=`basename $PWD`
- if [ "${INSTALL_SRC}" != "" ] ;then sudo apt-get install python-yaml; rm .rosinstall; for src in $INSTALL_SRC; do name=`basename $src`; python -c "import yaml;print yaml.dump([{'git':{'uri':'$src','local-name':'$name'}}], default_flow_style=False)" >> .rosinstall; done; cat .rosinstall; export USE_DEB=false; fi; # set USE_DEB false to enable .rosinstall
script:
- export ROS_PARALLEL_JOBS="-j2 -l2"
- if [ "${TEST_TYPE}" == "" ] ; then source .travis/travis.sh; else source ./.travis_test.sh ; fi
after_success:
- TRAVIS_JOB_SUBNUMBER="${TRAVIS_JOB_NUMBER##*.}"
# begin hot fix
- if [ "$TRAVIS_JOB_SUBNUMBER" == 8 -a "$TRAVIS_BRANCH" == "master" -a "${TRAVIS_SECURE_ENV_VARS}" == "true" ]; then sudo wget https://raw.githubusercontent.com/euslisp/EusLisp/master/lib/llib/documentation.l -O /opt/ros/$ROS_DISTRO/share/euslisp/jskeus/eus/lib/llib/documentation.l; fi # hot fix unitl 9.12.2 is relesed
- if [ "$TRAVIS_JOB_SUBNUMBER" == 8 -a "$TRAVIS_BRANCH" == "master" -a "${TRAVIS_SECURE_ENV_VARS}" == "true" ]; then ${CI_SOURCE_PATH}/.travis/upload-docs.sh; fi