forked from missionpinball/mpf-docs
-
Notifications
You must be signed in to change notification settings - Fork 0
/
.travis.yml
23 lines (19 loc) · 1.02 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
# Travis is only used to test the Sphinx build and is configured to fail on
# bad links and references. The actual docs are published on RTD which has its
# own webhook and is not related to anything that travis does.
dist: trusty
sudo: required
matrix:
fast_finish: true
include:
- os: linux
env: LINUX=ubuntu:16.04
sudo: required
services:
- docker
before_install:
- git clone --recursive --branch dev https://github.com/missionpinball/mpf.git _mpf;
- git clone --recursive --branch dev https://github.com/missionpinball/mpf-mc.git _mpf-mc
- git clone --branch dev https://github.com/missionpinball/mpf-debian-installer.git _mpf_installer;
script:
- docker run -v $PWD:$PWD -w $PWD $LINUX /bin/sh -c "_mpf_installer/install-mpf-dependencies && apt-get install -y git && pip3 install -q -r requirements.txt && pip3 install _mpf/ && export PYTHONPATH=$PYTHONPATH:$(pwd):$(pwd)/_mpf-mc && sphinx-build -nW -b html -d _build/doctrees . _build/html && sphinx-build -nW -b dummy -d _build/doctrees . _build/dummy";