start-jsk / rtmros_common

OpenRTM - ROS interoperability packages
http://wiki.ros.org/rtmros_common
12 stars 52 forks source link

support indigo #414

Open k-okada opened 10 years ago

k-okada commented 10 years ago

We'll have to start supporting indigo.

One thing that I'm not sure is at this moment we run test code on travis and travis uses 12.04, and it won't be updated soon[1].

https://travis-ci.org/roboptim/roboptim-core, seems checking source code across different repositories, it seems the check by cross-compiling using debbuild tools?

Another way is to use vm, for example http://jenkins.jsk.imi.i.u-tokyo.ac.jp:8080/job/jsk.rosbuild/ uses docker to check indigo settings.

[1] https://github.com/travis-ci/travis-ci/issues/1420

davetcoleman commented 10 years ago

ros_control has run into this issue as well - it seems Travis has no immediate plans to support Ubuntu 14.04 / indigo. Any progress on this issue?

k-okada commented 10 years ago

Our travis send job to jsk's jenkins server ( https://github.com/jsk-ros-pkg/jsk_travis/blob/779075d07300d30b710bae869977c824ee06c449/travis_jenkins.py) and that runs in docker instance on our server ( http://jenkins.jsk.imi.i.u-tokyo.ac.jp:8080/job/trusty-travis/). If you like, you can use this.

Here is our jenkins script for trusty-travis

set -x

git clone http://github.com/$TRAVIS_REPO_SLUG $BUILD_TAG/$TRAVIS_REPO_SLUG
cd $BUILD_TAG/$TRAVIS_REPO_SLUG
git fetch -q origin '+refs/pull/*:refs/remotes/pull/*'
git checkout -qf $TRAVIS_COMMIT

git submodule init
git submodule update

sudo docker rm `sudo docker ps --no-trunc -a -q` || echo "ok"
sudo docker rmi $(sudo docker images | awk '/^<none>/ { print $3 }') ||
echo "oK"

sudo docker run -e ROS_DISTRO=$ROS_DISTRO -e ROSWS=$ROSWS -e
BUILDER=$BUILDER -e USE_DEB=$USE_DEB -v
$WORKSPACE/$BUILD_TAG/$TRAVIS_REPO_SLUG:/workspace -w /workspace
ros-ubuntu:14.04 /bin/bash -c "$(cat <<EOL

set -x
trap 'exit 1' ERR

apt-get install -qq -y git wget sudo lsb-release

`cat .travis/travis.sh`

EOL
)"

rm -fr $BUILD_TAG

On Tue, Jun 24, 2014 at 6:34 PM, Dave Coleman notifications@github.com wrote:

ros_control has run into this issue as well - it seems Travis has no immediate plans to support Ubuntu 14.04 / indigo. Any progress on this issue?

— Reply to this email directly or view it on GitHub https://github.com/start-jsk/rtmros_common/issues/414#issuecomment-46950672 .

davetcoleman commented 10 years ago

Ah interesting, though a bit complicated. We might just try to build the indigo-devel branch on a 12.04 machine using pure travis.

@adolfo-rt

k-okada commented 10 years ago

build the indigo-devel branch on a 12.04 machine using pure travis.

do you mean , install trusty backport in to 12.04?

davetcoleman commented 10 years ago

Yes, but it appears it is not working well as per https://github.com/ros-controls/ros_control/pull/170