forked from sunpy/ablog
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy path.travis.yml
37 lines (31 loc) · 1.01 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
# We set the language to c because python isn't supported on the MacOS X nodes
# on Travis. However, the language ends up being irrelevant anyway, since we
# install Python ourselves using conda.
language: c
os:
- linux
# Setting sudo to false opts in to Travis-CI container-based builds.
sudo: false
env:
matrix:
- PYTHON_VERSION=2.7 SPHINX_VERSION=1.6
- PYTHON_VERSION=2.7
- PYTHON_VERSION=3.5 SPHINX_VERSION=1.6
- PYTHON_VERSION=3.5
- PYTHON_VERSION=3.6 SPHINX_VERSION=1.6
- PYTHON_VERSION=3.6
- PYTHON_VERSION=3.6 SPHINX_VERSION=dev
global:
- LOCALE=default
- CONDA_CHANNELS="conda-forge"
- CONDA_DEPENDENCIES="sphinx werkzeug alabaster invoke graphviz"
- PIP_DEPENDENCIES="sphinx-automodapi"
install:
- git clone git://github.com/astropy/ci-helpers.git
- source ci-helpers/travis/setup_conda.sh
- if [[ $SPHINX_VERSION == dev ]]; then
pip install git+https://github.com/sphinx-doc/sphinx.git;
fi
- pip install -e .
script:
- make test