Skip to content
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