forked from k-okada/2015-soft3
-
Notifications
You must be signed in to change notification settings - Fork 0
/
.travis.yml
34 lines (34 loc) · 1019 Bytes
/
.travis.yml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
sudo: required
language:
- cpp
- python
python:
- "2.7"
compiler:
- gcc
notifications:
email:
on_success: always
on_failure: always
env:
- ROS_DISTRO=hydro
install:
- export CI_SOURCE_PATH=$(pwd)
- export REPOSITORY_NAME=${PWD##*/}
- echo "Testing branch $TRAVIS_BRANCH of $REPOSITORY_NAME"
- sudo sh -c 'echo "deb http://packages.ros.org/ros-shadow-fixed/ubuntu `lsb_release -cs` 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 -qq -y ros-hydro-desktop ros-hydro-roscpp-tutorials ros-hydro-rostest python-catkin-tools
before_script:
- ls
- mv 20150930/check1.test 20150930/src/beginner_tutorials
- mv 20150930/check2.test 20150930/src/beginner_tutorials
script:
- source /opt/ros/hydro/setup.bash
- cd 20150930
- catkin build
- source devel/setup.bash
- rospack list
- rostest beginner_tutorials check1.test
- rostest beginner_tutorials check2.test