Skip to content

Commit 257dc83

Browse files
authored
Merge pull request #17 from fmessmer/ci_updates
[travis] ci updates
2 parents fbfe211 + 9a50b24 commit 257dc83

File tree

3 files changed

+27
-26
lines changed

3 files changed

+27
-26
lines changed

.travis.rosinstall

Lines changed: 0 additions & 1 deletion
This file was deleted.

.travis.yml

Lines changed: 11 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -8,16 +8,18 @@ notifications:
88
on_failure: always
99
env:
1010
global:
11+
- ADDITIONAL_DEBS='apt-utils dialog curl wget'
12+
- CATKIN_LINT=pedantic
13+
- CATKIN_LINT_ARGS='--ignore description_boilerplate --ignore target_name_collision'
14+
- CMAKE_ARGS=-DCMAKE_BUILD_TYPE=Release
15+
- NOT_TEST_DOWNSTREAM=true
1116
- ROS_REPO=ros
17+
- VERBOSE_OUTPUT=false
18+
- VERBOSE_TESTS=false
1219
matrix:
13-
- ROS_DISTRO=indigo UPSTREAM_WORKSPACE=file
14-
- ROS_DISTRO=indigo UPSTREAM_WORKSPACE=debian
15-
- ROS_DISTRO=kinetic UPSTREAM_WORKSPACE=file
16-
- ROS_DISTRO=kinetic UPSTREAM_WORKSPACE=debian
17-
- ROS_DISTRO=melodic UPSTREAM_WORKSPACE=file
18-
- ROS_DISTRO=melodic UPSTREAM_WORKSPACE=debian
20+
- ROS_DISTRO=kinetic
21+
- ROS_DISTRO=melodic
1922
install:
20-
- git clone https://github.com/ros-industrial/industrial_ci.git .ci_config
23+
- git clone --quiet --depth 1 https://github.com/ros-industrial/industrial_ci.git .industrial_ci -b master
2124
script:
22-
- .ci_config/travis.sh
23-
# - ./travis.sh # Enable this when you have a package-local script
25+
- .industrial_ci/travis.sh

CMakeLists.txt

Lines changed: 16 additions & 16 deletions
Original file line numberDiff line numberDiff line change
@@ -4,20 +4,20 @@ project(pointcloud_to_laserscan)
44
find_package(catkin REQUIRED COMPONENTS
55
message_filters
66
nodelet
7+
pcl_ros
78
roscpp
89
sensor_msgs
910
tf
1011
tf2
12+
tf2_geometry_msgs
1113
tf2_ros
1214
tf2_sensor_msgs
13-
tf2_geometry_msgs
14-
pcl_ros
1515
)
1616

1717
catkin_package(
1818
INCLUDE_DIRS include
19-
LIBRARIES pointcloud_to_laserscan ipa_pointcloud_to_laserscan roi_outlier_removal
20-
CATKIN_DEPENDS roscpp message_filters nodelet sensor_msgs tf2 tf2_ros tf2_sensor_msgs tf2_geometry_msgs pcl_ros
19+
LIBRARIES ${PROJECT_NAME} ipa_${PROJECT_NAME} roi_outlier_removal
20+
CATKIN_DEPENDS message_filters nodelet pcl_ros roscpp sensor_msgs tf2 tf2_geometry_msgs tf2_ros tf2_sensor_msgs
2121
)
2222

2323
include_directories(
@@ -34,25 +34,25 @@ target_link_libraries(frame_publisher_node frame_publisher ${catkin_LIBRARIES})
3434
add_library(roi_outlier_removal src/roi_outlier_removal_nodelet.cpp)
3535
target_link_libraries(roi_outlier_removal ${catkin_LIBRARIES})
3636

37-
add_library(pointcloud_to_laserscan src/pointcloud_to_laserscan_nodelet.cpp)
38-
target_link_libraries(pointcloud_to_laserscan ${catkin_LIBRARIES})
37+
add_library(${PROJECT_NAME} src/${PROJECT_NAME}_nodelet.cpp)
38+
target_link_libraries(${PROJECT_NAME} ${catkin_LIBRARIES})
3939

40-
add_executable(pointcloud_to_laserscan_node src/pointcloud_to_laserscan_node.cpp)
41-
target_link_libraries(pointcloud_to_laserscan_node pointcloud_to_laserscan ${catkin_LIBRARIES})
40+
add_executable(${PROJECT_NAME}_node src/${PROJECT_NAME}_node.cpp)
41+
target_link_libraries(${PROJECT_NAME}_node ${PROJECT_NAME} ${catkin_LIBRARIES})
4242

43-
add_library(ipa_pointcloud_to_laserscan src/ipa_pointcloud_to_laserscan_nodelet.cpp src/scan_outlier_removal_filter.cpp)
44-
target_link_libraries(ipa_pointcloud_to_laserscan ${catkin_LIBRARIES})
43+
add_library(ipa_${PROJECT_NAME} src/ipa_${PROJECT_NAME}_nodelet.cpp src/scan_outlier_removal_filter.cpp)
44+
target_link_libraries(ipa_${PROJECT_NAME} ${catkin_LIBRARIES})
4545

46-
add_executable(ipa_pointcloud_to_laserscan_node src/ipa_pointcloud_to_laserscan_node.cpp src/scan_outlier_removal_filter.cpp)
47-
target_link_libraries(ipa_pointcloud_to_laserscan_node ipa_pointcloud_to_laserscan ${catkin_LIBRARIES})
46+
add_executable(ipa_${PROJECT_NAME}_node src/ipa_${PROJECT_NAME}_node.cpp src/scan_outlier_removal_filter.cpp)
47+
target_link_libraries(ipa_${PROJECT_NAME}_node ipa_${PROJECT_NAME} ${catkin_LIBRARIES})
4848

4949
install(TARGETS frame_publisher
5050
frame_publisher_node
51+
ipa_${PROJECT_NAME}
52+
ipa_${PROJECT_NAME}_node
53+
${PROJECT_NAME}
54+
${PROJECT_NAME}_node
5155
roi_outlier_removal
52-
pointcloud_to_laserscan
53-
pointcloud_to_laserscan_node
54-
ipa_pointcloud_to_laserscan
55-
ipa_pointcloud_to_laserscan_node
5656
RUNTIME DESTINATION ${CATKIN_PACKAGE_BIN_DESTINATION}
5757
LIBRARY DESTINATION ${CATKIN_PACKAGE_LIB_DESTINATION}
5858
ARCHIVE DESTINATION ${CATKIN_PACKAGE_LIB_DESTINATION})

0 commit comments

Comments
 (0)