Skip to content

Commit

Permalink
add to check if this work with current hrpsys
Browse files Browse the repository at this point in the history
  • Loading branch information
k-okada committed Aug 25, 2015
1 parent 5657473 commit aa47bd6
Showing 1 changed file with 7 additions and 1 deletion.
8 changes: 7 additions & 1 deletion .travis.yml
Expand Up @@ -15,17 +15,23 @@ before_install: # Use this to prepare the system to install prerequisites or dep
- sudo apt-get update -qq
install: # Use this to install any prerequisites or dependencies necessary to run your build
- sudo apt-get install -qq -y f2c libf2c2 libf2c2-dev doxygen cmake libeigen3-dev libjpeg-dev collada-dom-dev git jython libatlas-base-dev libboost-all-dev libpng12-dev
- sudo apt-get install -qq -y ros-hydro-openrtm-aist ros-hydro-openrtm-aist-python ros-hydro-mk ros-hydro-rosbuild ros-hydro-rostest ros-hydro-roslang
- sudo apt-get install -qq -y ros-hydro-openrtm-aist ros-hydro-openrtm-aist-python ros-hydro-mk ros-hydro-rosbuild ros-hydro-rostest ros-hydro-roslang python-rosdep
- cd $CI_SOURCE_PATH
before_script: # Use this to prepare your build for testing e.g. copy database configurations, environment variables, etc.
- source /opt/ros/hydro/setup.bash
script: # All commands must exit with code 0 on success. Anything else is considered failure.
- export ROS_PARALLEL_JOBS="-j2 -l2"
- mkdir -p ~/ws/src
- ln -sf ${CI_SOURCE_PATH} ~/ws/src/${REPOSITORY_NAME}
- git clone http://github.com/fkanehiro/hrpsys-base ~/ws/src/hrpsys
- cd ~/ws
- sudo rosdep init
- rosdep update
- rosdep install -r -q -n --from-paths src --ignore-src --rosdistro hydro -y
- catkin_make_isolated
- source devel_isolated/setup.bash
- export ROS_PACKAGE_PATH=`pwd`/devel_isolated:$ROS_PACKAGE_PATH
- export EXIT_STATUS=0; [ "`find devel_isolated/openhrp3/share/openhrp3 -iname '*.test'`" == "" ] && echo "[openhrp3] No tests ware found!!!" || find devel_isolated/openhrp3/share/openhrp3 -iname "*.test" -print0 | xargs -0 -n1 rostest || export EXIT_STATUS=$?; [ $EXIT_STATUS == 0 ]
- sudo /etc/init.d/omniorb4-nameserver stop || echo "stop omniserver just in case..."
- export EXIT_STATUS=0; [ "`find devel_isolated/hrpsys/share/hrpsys -iname '*.test'`" == "" ] && echo "[hrpsys] No tests ware found!!!" || find devel_isolated/hrpsys/share/hrpsys -iname "*.test" -print0 | xargs -0 -n1 rostest || export EXIT_STATUS=$?; [ $EXIT_STATUS == 0 ]
after_failure:

0 comments on commit aa47bd6

Please sign in to comment.