Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Commit 926ff69

Browse files
author
Davide Faconti
committed
prepare for ros2 release
1 parent f590d0f commit 926ff69

File tree

2 files changed

+11
-73
lines changed

2 files changed

+11
-73
lines changed

.travis.yml

Lines changed: 4 additions & 69 deletions
Original file line numberDiff line numberDiff line change
@@ -11,80 +11,16 @@ os:
1111
compiler:
1212
- gcc
1313

14-
conan-linux: &conan-linux
15-
os: linux
16-
dist: xenial
17-
language: python
18-
python: "3.7"
19-
services:
20-
- docker
21-
before_install:
22-
- true
23-
install:
24-
- ./conan/travis/install.sh
25-
script:
26-
- ./conan/travis/build.sh
27-
28-
conan-osx: &conan-osx
29-
os: osx
30-
language: generic
31-
before_install:
32-
- true
33-
install:
34-
- ./conan/travis/install.sh
35-
script:
36-
- ./conan/travis/build.sh
37-
38-
matrix:
39-
include:
40-
- bare_linux:
41-
env: ROS_DISTRO="none"
42-
- ros_indigo:
43-
env: ROS_DISTRO="kinetic"
44-
- ros_kinetic:
45-
env: ROS_DISTRO="lunar"
46-
- ros_melodic:
47-
env: ROS_DISTRO="melodic"
48-
# - <<: *conan-linux
49-
# env: CONAN_GCC_VERSIONS=5 CONAN_DOCKER_IMAGE=conanio/gcc5 ROS_DISTRO="none"
50-
# - <<: *conan-linux
51-
# env: CONAN_GCC_VERSIONS=6 CONAN_DOCKER_IMAGE=conanio/gcc6 ROS_DISTRO="none"
52-
# - <<: *conan-linux
53-
# env: CONAN_GCC_VERSIONS=7 CONAN_DOCKER_IMAGE=conanio/gcc7 ROS_DISTRO="none"
54-
# - <<: *conan-linux
55-
# env: CONAN_GCC_VERSIONS=8 CONAN_DOCKER_IMAGE=conanio/gcc8 ROS_DISTRO="none"
56-
# - <<: *conan-linux
57-
# env: CONAN_CLANG_VERSIONS=3.9 CONAN_DOCKER_IMAGE=conanio/clang39 ROS_DISTRO="none"
58-
# - <<: *conan-linux
59-
# env: CONAN_CLANG_VERSIONS=4.0 CONAN_DOCKER_IMAGE=conanio/clang40 ROS_DISTRO="none"
60-
# - <<: *conan-linux
61-
# env: CONAN_CLANG_VERSIONS=5.0 CONAN_DOCKER_IMAGE=conanio/clang50 ROS_DISTRO="none"
62-
# - <<: *conan-linux
63-
# env: CONAN_CLANG_VERSIONS=6.0 CONAN_DOCKER_IMAGE=conanio/clang60 ROS_DISTRO="none"
64-
# - <<: *conan-osx
65-
# osx_image: xcode8.3
66-
# env: CONAN_APPLE_CLANG_VERSIONS=8.1 ROS_DISTRO="none"
67-
# - <<: *conan-osx
68-
# osx_image: xcode9
69-
# env: CONAN_APPLE_CLANG_VERSIONS=9.0 ROS_DISTRO="none"
70-
# - <<: *conan-osx
71-
# osx_image: xcode9.4
72-
# env: CONAN_APPLE_CLANG_VERSIONS=9.1 ROS_DISTRO="none"
73-
# - <<: *conan-osx
74-
# osx_image: xcode10.1
75-
# env: CONAN_APPLE_CLANG_VERSIONS=10.0 ROS_DISTRO="none"
76-
fast_finish: false
77-
7814
before_install:
79-
- sudo apt-get update && sudo apt-get --reinstall install -qq build-essential
80-
- if [ "$ROS_DISTRO" = "none" ]; then sudo apt-get --reinstall install -qq libzmq3-dev libdw-dev; fi
15+
- sudo apt-get update && sudo apt-get --reinstall install -qq build-essential
16+
- sudo apt-get --reinstall install -qq libzmq3-dev
8117
# GTest: see motivation here https://www.eriksmistad.no/getting-started-with-google-test-on-ubuntu/
8218
- sudo apt-get --reinstall install -qq libgtest-dev cmake
8319
- cd /usr/src/gtest
8420
- sudo cmake CMakeLists.txt
8521
- sudo make
8622
- sudo cp *.a /usr/lib
87-
- cd $TRAVIS_BUILD_DIR
23+
- cd $TRAVIS_BUILD_DIR
8824

8925
install:
9026
- if [ "$ROS_DISTRO" != "none" ]; then git clone https://github.com/ros-industrial/industrial_ci.git .ci_config; fi
@@ -94,7 +30,6 @@ before_script:
9430
- mkdir -p build
9531

9632
script:
97-
- if [ "$ROS_DISTRO" = "none" ]; then (cd build; cmake .. ; sudo cmake --build . --target install; ./bin/behaviortree_cpp_v3_test); fi
98-
- if [ "$ROS_DISTRO" != "none" ]; then (.ci_config/travis.sh); fi
33+
- cd build; cmake .. ; sudo cmake --build . --target install; ./bin/behaviortree_cpp_v3_test
9934

10035

package.xml

Lines changed: 7 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -12,15 +12,18 @@
1212
<author>Michele Colledanchise</author>
1313
<author>Davide Faconti</author>
1414

15-
<build_depend>roslib</build_depend>
16-
<run_depend>roslib</run_depend>
1715

1816
<build_depend>libzmq3-dev</build_depend>
1917
<run_depend>libzmq3-dev</run_depend>
20-
18+
2119
<build_depend>libdw-dev</build_depend>
2220
<run_depend>libdw-dev</run_depend>
2321

24-
<buildtool_depend>catkin</buildtool_depend>
22+
<test_depend>ament_cmake_gtest</test_depend>
23+
24+
<buildtool_depend>ament_cmake</buildtool_depend>
25+
<export>
26+
<build_type>ament_cmake</build_type>
27+
</export>
2528

2629
</package>

0 commit comments

Comments
 (0)