-
Notifications
You must be signed in to change notification settings - Fork 0
/
.travis.yml
62 lines (56 loc) · 1.56 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
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
language: python
os: linux
dist: xenial
sudo: false
services:
- xvfb # For mayavi headless
matrix:
include:
- env: DISTRIB="ubuntu" PYTHON_VERSION="3.6" SPHINXOPTS=""
addons:
apt:
packages:
- python3-numpy
- python3-matplotlib
- python3-pip
- python3-coverage
- optipng
- env: DISTRIB="conda" PYTHON_VERSION="3.5" SPHINX_VERSION="==1.8.3"
- env: DISTRIB="conda" PYTHON_VERSION="3.6"
- env: DISTRIB="conda" PYTHON_VERSION="3.6" LOCALE=C
- env: DISTRIB="conda" PYTHON_VERSION="3.7" LOCALE=C
SPHINXOPTS="-nWT --keep-going"
addons:
apt:
packages:
- optipng
- env: DISTRIB="conda" PYTHON_VERSION="3.8" SPHINX_VERSION="dev"
- python: 3.7
env: DISTRIB="minimal"
- python: "nightly"
env: PYTHON_VERSION="nightly"
addons:
apt:
packages:
- libblas-dev
- liblapack-dev
- gfortran
- optipng
allow_failures:
- python: "nightly"
before_install:
# Make sure that things work even if the locale is set to C (which
# effectively means ASCII). Some of the input rst files have unicode
# characters and we need to deal with this gracefully.
- |
if [[ $LOCALE == C ]]; then
export LC_CTYPE=C
export LC_ALL=C
export LANG=C
fi
install:
- source continuous_integration/travis/install.sh
script:
- bash continuous_integration/travis/test_script.sh
after_success:
- bash continuous_integration/travis/after_success.sh