forked from start-jsk/rtmros_common
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
[.travis.yml] add to check rtmros_hrp2 only for start-jsk/rtmros_comm…
…on repository (so if you think big change plese create branch in start-jsk and create PR)
- Loading branch information
Showing
2 changed files
with
3 additions
and
2 deletions.
There are no files selected for viewing
Binary file not shown.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -19,7 +19,7 @@ env: | |
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" | ||
- 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" | ||
|
@@ -36,8 +36,9 @@ notifications: | |
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 mkdir -p ~/ros/ws_$REPOSITORY_NAME/src; for src in $INSTALL_SRC; do git clone $src ~/ros/ws_$REPOSITORY_NAME/src/`basename ${src}`; done; fi; | ||
- 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 |