Skip to content

Commit

Permalink
skip install test on indigo
Browse files Browse the repository at this point in the history
  • Loading branch information
k-okada committed Sep 14, 2021
1 parent cd2fd1c commit 2e09c6b
Show file tree
Hide file tree
Showing 3 changed files with 10 additions and 7 deletions.
1 change: 1 addition & 0 deletions .github/workflows/indigo.yml
Original file line number Diff line number Diff line change
Expand Up @@ -34,3 +34,4 @@ jobs:
# latest catkin_virtualenv with pip==21.0.1 is incompatible with python 2.x
# https://github.com/jsk-ros-pkg/jsk_3rdparty/pull/237
BEFORE_SCRIPT : "sudo pip install virtualenv==15.1.0"
NOT_TEST_INSTALL : true
4 changes: 2 additions & 2 deletions .travis.yml
Original file line number Diff line number Diff line change
Expand Up @@ -32,8 +32,8 @@ env:
- USE_DOCKER=true
matrix:
- CHECK_PYTHON3_COMPILE=true
- ROS_DISTRO=indigo USE_DEB=true ROS_REPOSITORY_PATH='http://packages.ros.org/ros/ubuntu' ROS_PYTHON_VERSION=2
- ROS_DISTRO=indigo USE_DEB=true ROS_PYTHON_VERSION=2
- ROS_DISTRO=indigo USE_DEB=true ROS_REPOSITORY_PATH='http://packages.ros.org/ros/ubuntu' ROS_PYTHON_VERSION=2 NOT_TEST_INSTALL=true
- ROS_DISTRO=indigo USE_DEB=true ROS_PYTHON_VERSION=2 NOT_TEST_INSTALL=true
# FIXME: kinetic test fails because of matplotlib
# see: https://github.com/matplotlib/matplotlib/issues/9789
- ROS_DISTRO=kinetic BEFORE_SCRIPT="pip install --user matplotlib==2.2.5" USE_DEB=true
Expand Down
12 changes: 7 additions & 5 deletions jsk_rviz_plugins/CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -245,9 +245,11 @@ if (CATKIN_ENABLE_TESTING)
add_dependencies(tests ${PROJECT_NAME}_install_sample_data)
# run rostest for melodic+
find_package(rostest REQUIRED)
file(GLOB TEST_FILES test/*.test)
foreach(TEST_FILE ${TEST_FILES})
message(STATUS "Run test for ${TEST_FILE}")
add_rostest(${TEST_FILE})
endforeach()
if("$ENV{ROS_DISTRO}" STRGREATER "indigo") # support from kinetic
file(GLOB TEST_FILES test/*.test)
foreach(TEST_FILE ${TEST_FILES})
message(STATUS "Run test for ${TEST_FILE}")
add_rostest(${TEST_FILE})
endforeach()
endif()
endif()

0 comments on commit 2e09c6b

Please sign in to comment.