Skip to content

MAINT,STY: Upgrade to bionic, and change style similar to NumPy #253

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 1 commit into from
Apr 13, 2020
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
29 changes: 21 additions & 8 deletions .travis.yml
Original file line number Diff line number Diff line change
@@ -1,22 +1,34 @@
# After changing this file, check it on:
# http://lint.travis-ci.org/
language: python
dist: xenial
sudo: false
matrix:
group: travis_latest
os: linux
dist: bionic

addons:
apt:
packages:
- texlive
- texlive-latex-extra
- latexmk
- dvipng

cache:
directories:
- $HOME/.cache/pip

jobs:
include:
- python: 3.7
- python: 3.6
env: SPHINX_SPEC="==2.1.0" SPHINXOPTS=""
- python: 3.5
env: SPHINX_SPEC="==1.6.5" SPHINXOPTS=""
cache:
directories:
- $HOME/.cache/pip

before_install:
- sudo apt-get install texlive texlive-latex-extra latexmk dvipng
- pip install --upgrade pip setuptools # Upgrade pip and setuptools to get ones with `wheel` support
- pip install --upgrade pip setuptools # Ensure there is `wheel` support
- pip install pytest pytest-cov pydocstyle numpy matplotlib sphinx${SPHINX_SPEC} codecov

script:
- |
python setup.py sdist
Expand All @@ -34,6 +46,7 @@ script:
cd ../doc
make SPHINXOPTS=$SPHINXOPTS html
make SPHINXOPTS=$SPHINXOPTS latexpdf

after_script:
- |
cd ../dist
Expand Down