Skip to content

Commit

Permalink
fix travis config
Browse files Browse the repository at this point in the history
  • Loading branch information
scottgigante committed Feb 4, 2020
1 parent 4e99188 commit 81ccc2a
Showing 1 changed file with 31 additions and 38 deletions.
69 changes: 31 additions & 38 deletions .travis.yml
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

0 comments on commit 81ccc2a

Please sign in to comment.