diff options
author | Mike Taves <mwtoews@gmail.com> | 2020-04-13 12:22:20 +1200 |
---|---|---|
committer | GitHub <noreply@github.com> | 2020-04-12 20:22:20 -0400 |
commit | 40f654040670d94dc8d585532b412003c4414912 (patch) | |
tree | 4817e28fa2a09b7c7a045fe91f6fa135142b4f4e | |
parent | 0958ef955aedf425e6bcbdd0debe934d35ae7e0f (diff) | |
download | numpydoc-40f654040670d94dc8d585532b412003c4414912.tar.gz |
MAINT,STY: Upgrade to bionic, and change style similar to NumPy (#253)
-rw-r--r-- | .travis.yml | 29 |
1 files changed, 21 insertions, 8 deletions
diff --git a/.travis.yml b/.travis.yml index 80f6e47..194520a 100644 --- a/.travis.yml +++ b/.travis.yml @@ -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 @@ -34,6 +46,7 @@ script: cd ../doc make SPHINXOPTS=$SPHINXOPTS html make SPHINXOPTS=$SPHINXOPTS latexpdf + after_script: - | cd ../dist |