diff --git a/.travis.yml b/.travis.yml index 173c3d2..afefaf8 100644 --- a/.travis.yml +++ b/.travis.yml @@ -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: diff --git a/Makefile b/Makefile index 01c2fbc..0ef19fa 100644 --- a/Makefile +++ b/Makefile @@ -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