Skip to content

Commit

Permalink
Add travis.yml to test install script
Browse files Browse the repository at this point in the history
  • Loading branch information
Zareen Choudhury committed Jan 29, 2018
1 parent 014457d commit 870ce37
Showing 1 changed file with 25 additions and 0 deletions.
25 changes: 25 additions & 0 deletions .travis.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,25 @@
language: bash
sudo: required
dist: trusty

before_install:
- sudo sh -c 'echo "deb http://packages.ros.org/ros/ubuntu $(lsb_release -sc) main" > /etc/apt/sources.list.d/ros-latest.list'
- sudo apt-key adv --keyserver hkp://ha.pool.sks-keyservers.net:80 --recv-key 421C365BD9FF1F717815A3895523BAEEB01FA116
- sudo apt-get update
- sudo apt-get install -y ros-indigo-ros-base
- echo "source /opt/ros/indigo/setup.bash" >> ~/.bashrc
- source ~/.bashrc
- sudo rosdep init
- rosdep update

install:
- mkdir -p ~/catkin_ws/src
- cd ~/catkin_ws
- catkin_make
- source devel/setup.bash

before_script:
- cd ~/catkin_ws/src

script:
- source canopy_client_install.sh

0 comments on commit 870ce37

Please sign in to comment.