Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Noetic support #39

Closed
Closed
Show file tree
Hide file tree
Changes from 20 commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
9 changes: 4 additions & 5 deletions .travis.yml
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@
# https://github.com/ros-infrastructure/ros_buildfarm/blob/master/doc/jobs/prerelease_jobs.rst
# while this doesn't require sudo we don't want to run within a Docker container
sudo: true
dist: bionic
dist: focal
language: python
python:
- "3.7"
Expand All @@ -24,10 +24,10 @@ install:
# check python code code compatibility
- docker run --rm -v$(pwd):/opt/code -ti ${OS_NAME}:${OS_CODE_NAME} bash -c 'set -x; set -e; apt update -qq; apt install -y -qq lsb-release libroslib-dev python 2>&1 >/dev/null; set +x; for file in /etc/catkin/profile.d/*.sh; do echo $file; source $file; done; set -x; apt install -y -qq python${ROS_PYTHON_VERSION} 2>&1 >/dev/null; lsb_release -a; python${ROS_PYTHON_VERSION} --version; set +x; cd /opt/code; EXIT_STATUS=0; for file in $(find -type f); do if [[ $file == *.py || \"$(head -1 $file)\" =~ \"python\" ]]; then echo \"Check if $file is compatible with python${ROS_PYTHON_VERSION}\"; set -x; python${ROS_PYTHON_VERSION} -m py_compile $file || EXIT_STATUS=1; set +x; fi; done; exit $EXIT_STATUS';
# either install the latest released version of ros_buildfarm
- pip install ros_buildfarm
# - pip install ros_buildfarm
# or checkout a specific branch
#- git clone -b master https://github.com/ros-infrastructure/ros_buildfarm /tmp/ros_buildfarm
#- pip install /tmp/ros_buildfarm
- git clone -b master https://github.com/ros-infrastructure/ros_buildfarm /tmp/ros_buildfarm
- pip install /tmp/ros_buildfarm
# checkout catkin for catkin_test_results script
- git clone https://github.com/ros/catkin /tmp/catkin
# run devel job for a ROS repository with the same name as this repo
Expand All @@ -44,4 +44,3 @@ script:
- /tmp/catkin/bin/catkin_test_results $JOB_PATH/ws/test_results --all
notifications:
email: false

2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
executive_smach_visualization [![Build Status](https://travis-ci.com/ros-visualization/executive_smach_visualization.svg?branch=melodic-devel)](https://travis-ci.com/ros-visualization/executive_smach_visualization)
=====================================================================================================================================================================================================================
=====================================================================================================================================================================================================================
27 changes: 18 additions & 9 deletions smach_viewer/package.xml
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
<package>
<package format="3">
<name>smach_viewer</name>
<version>3.0.1</version>
<description>
Expand All @@ -25,14 +25,23 @@
<build_depend>rostest</build_depend>

<!-- Dependencies needed after this package is compiled. -->
<run_depend>smach_ros</run_depend>
<run_depend>smach_msgs</run_depend>
<!-- originally depends on xdot : https://github.com/jbohren/xdot/blob/2.0.1/package.xml#L25-L26 -->
<run_depend>wxpython</run_depend>
<run_depend>graphviz</run_depend>
<run_depend>python-gi</run_depend>
<run_depend>python-gi-cairo</run_depend>
<run_depend>gtk3</run_depend>
<exec_depend>smach_ros</exec_depend>
<exec_depend>smach_msgs</exec_depend>

<exec_depend condition="$ROS_PYTHON_VERSION == 2">wxpython</exec_depend>
<exec_depend condition="$ROS_PYTHON_VERSION == 2">python-xdot</exec_depend>
<exec_depend condition="$ROS_PYTHON_VERSION == 3">python3-xdot</exec_depend>
<exec_depend condition="$ROS_PYTHON_VERSION == 3">python3-wxgtk4.0</exec_depend>
<exec_depend>graphviz</exec_depend>
<exec_depend condition="$ROS_PYTHON_VERSION == 2">python-gi</exec_depend>
<exec_depend condition="$ROS_PYTHON_VERSION == 3">python3-gi</exec_depend>
<exec_depend condition="$ROS_PYTHON_VERSION == 2">python-rospkg</exec_depend>
<exec_depend condition="$ROS_PYTHON_VERSION == 3">python3-rospkg</exec_depend>
<exec_depend condition="$ROS_PYTHON_VERSION == 2">python-qt5-bindings</exec_depend>
<exec_depend condition="$ROS_PYTHON_VERSION == 3">python3-qt5-bindings</exec_depend>
<exec_depend condition="$ROS_PYTHON_VERSION == 2">python-gi-cairo</exec_depend>
<exec_depend condition="$ROS_PYTHON_VERSION == 3">python3-gi-cairo</exec_depend>
<exec_depend>gtk3</exec_depend>

<export>

Expand Down
Loading