Skip to content

Commit 40f6540

Browse files
authored
MAINT,STY: Upgrade to bionic, and change style similar to NumPy (#253)
1 parent 0958ef9 commit 40f6540

File tree

1 file changed

+21
-8
lines changed

1 file changed

+21
-8
lines changed

.travis.yml

Lines changed: 21 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -1,22 +1,34 @@
11
# After changing this file, check it on:
22
# http://lint.travis-ci.org/
33
language: python
4-
dist: xenial
5-
sudo: false
6-
matrix:
4+
group: travis_latest
5+
os: linux
6+
dist: bionic
7+
8+
addons:
9+
apt:
10+
packages:
11+
- texlive
12+
- texlive-latex-extra
13+
- latexmk
14+
- dvipng
15+
16+
cache:
17+
directories:
18+
- $HOME/.cache/pip
19+
20+
jobs:
721
include:
822
- python: 3.7
923
- python: 3.6
1024
env: SPHINX_SPEC="==2.1.0" SPHINXOPTS=""
1125
- python: 3.5
1226
env: SPHINX_SPEC="==1.6.5" SPHINXOPTS=""
13-
cache:
14-
directories:
15-
- $HOME/.cache/pip
27+
1628
before_install:
17-
- sudo apt-get install texlive texlive-latex-extra latexmk dvipng
18-
- pip install --upgrade pip setuptools # Upgrade pip and setuptools to get ones with `wheel` support
29+
- pip install --upgrade pip setuptools # Ensure there is `wheel` support
1930
- pip install pytest pytest-cov pydocstyle numpy matplotlib sphinx${SPHINX_SPEC} codecov
31+
2032
script:
2133
- |
2234
python setup.py sdist
@@ -34,6 +46,7 @@ script:
3446
cd ../doc
3547
make SPHINXOPTS=$SPHINXOPTS html
3648
make SPHINXOPTS=$SPHINXOPTS latexpdf
49+
3750
after_script:
3851
- |
3952
cd ../dist

0 commit comments

Comments
 (0)