forked from sphinx-doc/alabaster
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy path.travis.yml
35 lines (35 loc) · 922 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
29
30
31
32
33
34
35
language: python
cache: pip
python:
- "2.7"
- "3.4"
- "3.5"
- "3.6"
- "pypy"
- "pypy3"
env:
- SPHINX=">=1.3,<1.4"
- SPHINX=">=1.4,<1.5"
- SPHINX=">=1.5,<1.6"
- SPHINX=">=1.6,<1.7"
- SPHINX=">=1.7,<1.8"
install:
# For some reason Travis' build envs have wildly different pip/setuptools
# versions between minor Python versions, and this can cause many hilarious
# corner packaging cases. So...
- pip install -U pip
# Setuptools 34+ seems to get less stable
- pip install 'setuptools>33,<34'
# Install dev requirements
- pip install -r dev-requirements.txt
# Limit Sphinx version re: test matrix
- pip install "sphinx$SPHINX"
# Sanity/debug-friendliness: list what got installed
- pip list --format=columns
# Dev tooling sanity test: can invoke list tasks?
- inv --list
script:
- inv travis.blacken
- flake8
# Does our own dogfooding website build ok? :D
- inv docs