-
Notifications
You must be signed in to change notification settings - Fork 22
/
.travis.yml
44 lines (44 loc) · 1.18 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
language: julia
julia:
- 1.0
- 1.2
- nightly
matrix:
allow_failures:
- julia: nightly
sudo: required
dist: xenial
env:
global:
- PYTHON=python
before_install:
- sudo apt-add-repository -y "deb http://packages.ros.org/ros/ubuntu xenial 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-kinetic-ros-base ros-kinetic-common-msgs ros-kinetic-tf2-ros ros-kinetic-tf
- sudo rosdep init
- rosdep update
before_script:
- export PATH=/usr/bin:$PATH
- source /opt/ros/kinetic/setup.sh
- roscore &
- sleep 5
- python test/echonode.py &
- python test/tfpubnode.py &
- sleep 5
after_success:
- julia --project -e 'import Pkg; Pkg.add("Coverage"); using Coverage; Coveralls.submit(Coveralls.process_folder())'
after_script:
- killall roscore
- killall python
- sleep 5
jobs:
include:
- stage: "Documentation"
julia: 1.0
os: linux
script:
- julia --project=docs/ -e 'using Pkg; Pkg.instantiate();
Pkg.add(PackageSpec(path=pwd()))'
- julia --project=docs/ docs/make.jl
after_success: skip