-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Add travis.yml to test install script
- Loading branch information
Zareen Choudhury
committed
Jan 29, 2018
1 parent
014457d
commit 870ce37
Showing
1 changed file
with
25 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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 |