Skip to content

Commit

Permalink
Merge pull request #45 from furushchev/fix-travis
Browse files Browse the repository at this point in the history
[.travis.sh] bugfix: test for opencv3
  • Loading branch information
k-okada authored Oct 6, 2016
2 parents 45660b7 + bc97e75 commit 48f7688
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 4 deletions.
7 changes: 4 additions & 3 deletions .travis.sh
Original file line number Diff line number Diff line change
Expand Up @@ -56,8 +56,9 @@ travis_time_start setup.before_script
cd ~/catkin_ws/src
wstool init
#if [[ -f $ROSINSTALL_FILE ]] ; then wstool merge $ROSINSTALL_FILE ; fi
if [ $OPENCV_VERSION == 3 ]; then rosinstall_generator image_pipeline >> .rosinstall.opencv3; fi # need to recompile image_proc
if [ $OPENCV_VERSION == 3 ]; then rosinstall_generator vision_opencv >> .rosinstall.opencv3; fi # need to recompile visoin_opencv
if [ $OPENCV_VERSION == 3 ]; then rosinstall_generator image_pipeline --upstream >> .rosinstall.opencv3; fi # need to recompile image_proc
if [ $OPENCV_VERSION == 3 ]; then rosinstall_generator compressed_image_transport --upstream >> .rosinstall.opencv3; fi # need to recompile compressed_image_transport
if [ $OPENCV_VERSION == 3 ]; then rosinstall_generator vision_opencv --upstream >> .rosinstall.opencv3; fi # need to recompile visoin_opencv
if [ $OPENCV_VERSION == 3 ]; then wstool merge .rosinstall.opencv3; fi # need to recompile visoin_opencv
wstool up
wstool info
Expand All @@ -75,7 +76,7 @@ travis_time_start setup.script
source /opt/ros/$ROS_DISTRO/setup.bash
cd ~/catkin_ws
catkin build -p1 -j1 --no-status
catkin run_tests -p1 -j1 --no-status
catkin run_tests -p1 -j1 --no-status opencv_apps --no-deps
catkin_test_results --verbose build || catkin_test_results --all build
catkin clean -b --yes || catkin clean -b -a
catkin config --install
Expand Down
2 changes: 1 addition & 1 deletion package.xml
Original file line number Diff line number Diff line change
Expand Up @@ -36,7 +36,7 @@
<test_depend>image_proc</test_depend>
<test_depend>image_view</test_depend>
<test_depend>topic_tools</test_depend>
<test_depend>image_transport_plugins</test_depend>
<test_depend>compressed_image_transport</test_depend>

<export>
<nodelet plugin="${prefix}/nodelet_plugins.xml"/>
Expand Down

0 comments on commit 48f7688

Please sign in to comment.