Skip to content

Commit

Permalink
.travis.yml: udpate to trusty
Browse files Browse the repository at this point in the history
  • Loading branch information
k-okada committed Jun 14, 2017
1 parent 005d861 commit a52dee3
Showing 1 changed file with 7 additions and 9 deletions.
16 changes: 7 additions & 9 deletions .travis.yml
Original file line number Diff line number Diff line change
@@ -1,8 +1,6 @@
language:
- cpp
- python
python:
- "2.7"
sudo: required
dist: trusty
language: generic
compiler:
- gcc

Expand All @@ -12,18 +10,18 @@ branches:
- develop

install:
- sudo sh -c 'echo "deb http://packages.ros.org/ros/ubuntu precise main" > /etc/apt/sources.list.d/ros-latest.list'
- sudo sh -c 'echo "deb http://packages.ros.org/ros/ubuntu trusty main" > /etc/apt/sources.list.d/ros-latest.list'
- wget http://packages.ros.org/ros.key -O - | sudo apt-key add -
- sudo apt-get update -qq
- sudo apt-get install python-catkin-pkg python-rosdep ros-hydro-catkin -qq
- sudo apt-get install python-catkin-pkg python-rosdep ros-indigo-catkin -qq
- sudo rosdep init
- rosdep update
- mkdir -p /tmp/ws/src
- ln -s `pwd` /tmp/ws/src/package
- cd /tmp/ws
- rosdep install --from-paths src --ignore-src --rosdistro hydro -y
- rosdep install --from-paths src --ignore-src --rosdistro indigo -y

script:
- source /opt/ros/hydro/setup.bash
- source /opt/ros/indigo/setup.bash
- catkin_make
- catkin_make install

0 comments on commit a52dee3

Please sign in to comment.