Skip to content

Commit

Permalink
Merge pull request #43 from esteve/travis-robustness-43
Browse files Browse the repository at this point in the history
Use catkin to build and run the testsuite
  • Loading branch information
wjwwood committed Feb 13, 2014
2 parents dc7f626 + cf60748 commit 3ea454f
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 5 deletions.
2 changes: 1 addition & 1 deletion .travis.yml
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@ install:
script:
- source /opt/ros/hydro/setup.bash
- make coverage
- catkin_test_results /tmp/capabilities_build/test_results
- catkin_test_results /tmp/capabilities_build/build/test_results
notifications:
email: false
after_success:
Expand Down
9 changes: 5 additions & 4 deletions Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -17,10 +17,11 @@ coverage:
-rm ~/.ros/.coverage
-rm ${BUILD_DIR}/.coverage
-rm ./.coverage
cd ${BUILD_DIR} && cmake ${SRC_DIR} -DCMAKE_INSTALL_PREFIX=`pwd`/install
cd ${BUILD_DIR} && make
cd ${BUILD_DIR} && make tests
cd ${BUILD_DIR} && make run_tests
cd ${BUILD_DIR} && mkdir src
ln -s ${SRC_DIR} ${BUILD_DIR}/src
cd ${BUILD_DIR} && catkin_make
cd ${BUILD_DIR} && catkin_make tests
cd ${BUILD_DIR} && catkin_make -j1 run_tests
catkin_test_results ${BUILD_DIR}
ls ${HOME}/.ros/.coverage
cp ${HOME}/.ros/.coverage ./.coverage.1
Expand Down

0 comments on commit 3ea454f

Please sign in to comment.