-
Notifications
You must be signed in to change notification settings - Fork 2
/
.travis.yml
45 lines (39 loc) · 1.07 KB
/
.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
35
36
37
38
39
40
41
42
43
44
45
# Documentation: http://docs.travis-ci.com/user/languages/julia/
language: julia
julia:
- 0.6
sudo: required
os:
- linux
#dist: trusty
notifications:
email: false
addons:
apt_packages:
- gfortran
- liblapack-dev
- libblas-dev
- python-yaml
before_install:
- sudo apt-add-repository -y "deb http://packages.ros.org/ros/ubuntu trusty main"
- wget https://raw.githubusercontent.com/ros/rosdistro/master/ros.key -O - | sudo apt-key add -
- sudo apt-get update
- sudo apt-get -y install ros-indigo-ros-base ros-indigo-common-msgs
- sudo rosdep init
- rosdep update
before_script:
- export PATH=/usr/bin:$PATH
- source /opt/ros/indigo/setup.sh
- roscore &
- sleep 5
script:
- if [[ -a .git/shallow ]]; then git fetch --unshallow; fi
- julia -e 'Pkg.add("PyCall")'
- julia -e 'ENV["PYTHON"]="/usr/bin/python2.7"; Pkg.build("PyCall");'
- julia -e 'Pkg.clone(pwd())'
- julia -e 'Pkg.checkout("NLOptControl")'
- julia -e 'Pkg.test("MichiganAutonomousVehicles")'
after_script:
- killall roscore
- killall python
- sleep 5