2018-02-17 13:06:56 +01:00
|
|
|
# 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
|
2018-02-17 12:36:52 +01:00
|
|
|
|
|
|
|
os:
|
|
|
|
- linux
|
|
|
|
|
|
|
|
# Setting sudo to false opts in to Travis-CI container-based builds.
|
2015-09-14 21:38:03 -07:00
|
|
|
sudo: false
|
2018-02-17 12:36:52 +01:00
|
|
|
|
|
|
|
env:
|
2018-02-17 13:06:56 +01:00
|
|
|
matrix:
|
|
|
|
- PYTHON_VERSION=2.7 SPHINX_VERSION=1.6
|
2018-10-27 10:52:29 +01:00
|
|
|
- PYTHON_VERSION=2.7 SPHINX_VERSION=1.8
|
2018-10-27 11:15:43 +01:00
|
|
|
|
2018-02-17 13:06:56 +01:00
|
|
|
- PYTHON_VERSION=3.5 SPHINX_VERSION=1.6
|
2018-10-27 10:52:29 +01:00
|
|
|
- PYTHON_VERSION=3.5 SPHINX_VERSION=1.8
|
2018-10-27 11:15:43 +01:00
|
|
|
|
2018-02-17 13:06:56 +01:00
|
|
|
- PYTHON_VERSION=3.6 SPHINX_VERSION=1.6
|
2018-10-27 10:52:29 +01:00
|
|
|
- PYTHON_VERSION=3.6 SPHINX_VERSION=1.8
|
2018-10-27 11:15:43 +01:00
|
|
|
|
2018-10-27 10:52:29 +01:00
|
|
|
- PYTHON_VERSION=3.7 SPHINX_VERSION=1.6
|
|
|
|
- PYTHON_VERSION=3.7 SPHINX_VERSION=1.7
|
|
|
|
- PYTHON_VERSION=3.7 SPHINX_VERSION=1.8
|
2018-02-17 13:18:01 +01:00
|
|
|
|
2018-02-17 13:06:56 +01:00
|
|
|
global:
|
|
|
|
- LOCALE=default
|
|
|
|
- CONDA_CHANNELS="conda-forge"
|
2018-10-27 11:15:43 +01:00
|
|
|
- CONDA_DEPENDENCIES="sphinx werkzeug alabaster invoke graphviz nbsphinx"
|
2018-02-28 09:59:49 +01:00
|
|
|
- PIP_DEPENDENCIES="sphinx-automodapi"
|
2018-02-17 12:36:52 +01:00
|
|
|
|
2018-02-17 12:57:35 +01:00
|
|
|
install:
|
2018-02-17 12:36:52 +01:00
|
|
|
- git clone git://github.com/astropy/ci-helpers.git
|
|
|
|
- source ci-helpers/travis/setup_conda.sh
|
2018-02-17 13:02:47 +01:00
|
|
|
- pip install -e .
|
2018-02-17 12:36:52 +01:00
|
|
|
|
2015-03-01 12:52:35 -08:00
|
|
|
script:
|
2018-10-27 11:15:43 +01:00
|
|
|
- make tests
|