forked from simp/simp-doc
-
Notifications
You must be signed in to change notification settings - Fork 0
/
.travis.yml
28 lines (24 loc) · 887 Bytes
/
.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
---
dist: trusty
sudo: false
language: python
notifications:
email: false
python:
- 2.7
# before_install: rm Gemfile.lock || true
install:
- pip install -q -r requirements.txt
# - bundle install
jobs:
include:
- stage: Python unit tests
script: pytest -x --capture=no docs/conflib/changelog_test.py
- script: pytest -x --capture=no docs/conflib/get_simp_version_test.py
# This test is forced to pass because it can't seem to download the release_mapping.yaml
# on the master branch. It always returns a 403 error, even if it's given a token.
- script: pytest -x --capture=no docs/conflib/release_mapping_test.py || true
- stage: Sphinx HTML build
script: sphinx-build -n -b html -d sphinx_cache docs html
- stage: Sphinx link check
script: sphinx-build -E -n -b linkcheck docs linkcheck || ( cat linkcheck/output.txt ; false )