This repository has been archived by the owner on Dec 1, 2020. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 4
/
.travis.yml
65 lines (57 loc) · 2.58 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
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
# Test build the March tutorials. Author: Isha Dijcks
# Adapted from 'Test build the MoveIt! tutorials'. Original Author: Dave Coleman
os: linux
dist: bionic
version: ~> 1.0
language: generic
rvm:
- 2.4
python:
- 2.7
notifications:
slack:
secure: n1ryyjsiSykennfhd/xLqsT4Hs7gkiCiILByK7AoeazJ+rtvAkoH9RQBlSoakUGrwfv7/m67gnHEJzjADUylq0OBcQ6xnA5Acflet4Sn8ZZY8l9uB9ryQ67S6KC8NNP67tr1KQtB0fYnXk/PIAKseEjfDlTzoHIiFeI+0SruYkXAF/Pm7tuXUAgRww6S4Tl1r2nAn8yhjYPttDMORmVMcJdRS/fx5J2Iqo6I4J8tHQDGM4kJHGfKdbLiY754ObC3lTYmYFDAx3c2TG8ZSP0GP2KGYGJ17e9W7KgYrC9Nihguxc1mp4lhWJHlL4KO5NFbl1zrwQl1CRIQJ5mvLtEx3/FyQOkR50voP5nveKCdcE2tPeMhZ7L+RTUO9sLvamiBEV2eYkmWVkjfeTrkpvBH6NkaiYW6vxztu2hIHgFB8Ys82CPY5zcr3jm75i4eLdN/RAji0bKi5i5JKPCO+ZjDrhAGaB53odoqpG+yyr/8yGz5F4nBwDE64Nr2XlWn91m2wunNP9UD51bbGhp9q2k1Ivc451jx9euZyOKK62KruHwcCgvo6mgb06m8keitU6J/6s+urVmjXpDUGH8xjhxyX7GaCmCmT8DZbkBhb6tDXFY3K3x9rrPzFFaIIlHNskVx5J5S8LcIQxKW95euz7XV3nt0r3e3NEcxLtzi3QfA88Y=
email: false
env:
global:
- ROS_DISTRO=melodic
- CI_SOURCE_PATH="$(pwd)"
- PYTHONPATH="$PYTHONPATH:/usr/lib/python2.7/dist-packages:/usr/local/lib/python2.7/dist-packages"
- NOKOGIRI_USE_SYSTEM_LIBRARIES=true
before_install:
- sudo -E sh -c 'echo "deb http://packages.ros.org/ros/ubuntu `lsb_release -cs` main" > /etc/apt/sources.list.d/ros-latest.list'
- wget http://packages.ros.org/ros.key -O - | sudo apt-key add -
- sudo apt-get update -qq
- sudo apt-get install -qq -y python-rosdep ros-melodic-rosdoc-lite
# Setup rosdep
- sudo rosdep init
- rosdep update
- source /opt/ros/melodic/setup.bash
install:
# Install htmlproofer
- gem update --system
- gem --version
- gem install html-proofer
# Install python dependencies
- pip install -r requirements.txt
script:
# Test build with non-ROS wrapped Sphinx command to allow warnings and errors to be caught
# Test build with ROS-version of Sphinx command so that it is generated same as ros.org
# Run HTML tests on generated build output to check for 404 errors, etc
- sphinx-build -W -b html . native_build || travis_terminate 1
- rosdoc_lite -o build .
- htmlproofer ./build --only-4xx --check-html --file-ignore ./build/html/genindex.html,./build/html/search.html,./build/html/index-msg.html --alt-ignore '/.*/' --url-ignore '#'
# after_success and deploy are skipped if build is broken
after_success:
# Tell GitHub Pages to bypass Jekyll processing
- touch build/html/.nojekyll
deploy:
provider: pages
strategy: git
edge: true
token: $GH_REPO_TOKEN
local_dir: build/html
fqdn: docs.projectmarch.nl
on:
branch: master
condition: $TRAVIS_EVENT_TYPE = push