forked from jdlangs/RobotOS.jl
-
Notifications
You must be signed in to change notification settings - Fork 0
/
.travis.yml
43 lines (43 loc) · 1.15 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
language: julia
julia:
- 1.0
- 1.5
- nightly
matrix:
allow_failures:
- julia: nightly
sudo: required
dist: bionic
env:
global:
- PYTHON=python
before_install:
- sudo apt-key adv --keyserver 'hkp://keyserver.ubuntu.com:80' --recv-key C1CF6E31E6BADE8868B172B4F42ED6FBAB17C654
- sudo apt-add-repository -y "deb http://packages.ros.org/ros/ubuntu bionic main"
- sudo apt-get update
- sudo apt-get -y install python-rosdep ros-melodic-ros-base ros-melodic-common-msgs
- sudo rosdep init
- rosdep update
before_script:
- export PATH=/usr/bin:$PATH
- source /opt/ros/melodic/setup.sh
- roscore &
- sleep 5
- python test/echonode.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