Skip to content

Commit

Permalink
Adding initial travis
Browse files Browse the repository at this point in the history
  • Loading branch information
wjwwood committed Aug 19, 2013
1 parent fd3d72d commit a1ae25e
Showing 1 changed file with 23 additions and 0 deletions.
23 changes: 23 additions & 0 deletions .travis.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,23 @@
language: python
python:
- "2.7"
- "3.2"
# command to install dependencies
install:
- pip install nose coverage pep8
- sudo sh -c 'echo "deb http://packages.ros.org/ros/ubuntu precise 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
- rosdep install --from-paths . --ignore-src --rosdistro hydro -y
- sudo apt-get install ros-hydro-geometry-msgs
# command to run tests
script:
- nosetests -s --tests test --with-coverage --cover-package capabilities
- mkdir build
- cd build
- source /opt/ros/hydro/setup.bash
- cmake ..
- make
- make run_tests
notifications:
email: false

0 comments on commit a1ae25e

Please sign in to comment.