-
Notifications
You must be signed in to change notification settings - Fork 15
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
1 parent
4e99188
commit 81ccc2a
Showing
1 changed file
with
31 additions
and
38 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,39 +1,32 @@ | ||
language: python | ||
python: | ||
- "3.5" | ||
- "3.6" | ||
- "3.7-dev" | ||
language: python | ||
python: | ||
- '3.5' | ||
- '3.6' | ||
- 3.7-dev | ||
cache: | ||
- pip | ||
- apt | ||
addons: | ||
apt: | ||
packages: libjs-mathjax | ||
script: | ||
- python -c "import graphtools" | ||
- 'pip install -U .[test]' | ||
- 'if [ "$TRAVIS_PYTHON_VERSION" != "3.5" ]; then black . --check --diff; fi' | ||
- python setup.py test | ||
- 'pip install -U .[doc]' | ||
- cd doc; make html | ||
- cd .. | ||
deploy: | ||
provider: pypi | ||
user: scottgigante | ||
password: '${PYPI_PASSWORD}' | ||
distributions: sdist bdist_wheel | ||
skip_existing: true | ||
cleanup: false | ||
'on': | ||
tags: true | ||
branch: master | ||
after_success: | ||
- coveralls | ||
|
||
sudo: required | ||
|
||
cache: | ||
- pip | ||
- apt | ||
|
||
addons: | ||
apt: | ||
packages: | ||
libjs-mathjax | ||
|
||
script: | ||
- python -c "import graphtools" | ||
- pip install -U .[test] | ||
- if [ "$TRAVIS_PYTHON_VERSION" != "3.5" ]; then black . --check --diff; fi | ||
- python setup.py test | ||
- pip install -U .[doc] | ||
- cd doc; make html | ||
- cd .. | ||
|
||
deploy: | ||
provider: pypi | ||
user: scottgigante | ||
password: ${PYPI_PASSWORD} | ||
distributions: sdist bdist_wheel | ||
skip_existing: true | ||
skip_cleanup: true | ||
on: | ||
tags: true | ||
branch: master | ||
|
||
after_success: | ||
- coveralls |