Skip to content

Commit

Permalink
Change travis ci setting
Browse files Browse the repository at this point in the history
  • Loading branch information
psy2848048 committed Dec 19, 2019
1 parent da64dd9 commit ff15f45
Showing 1 changed file with 1 addition and 12 deletions.
13 changes: 1 addition & 12 deletions .travis.yml
Original file line number Diff line number Diff line change
@@ -1,23 +1,12 @@
dist: xenial
language: python
python:
- '3.6'
- '3.7'
- '3.8'
script:
# Build
- python setup.py install
# Static checks (only in Python 3.6 job)
- |
if [[ $TRAVIS_PYTHON_VERSION == '3.6' ]]; then
flake8 . &&
mypy . &&
isort --check-only -rc . &&
black --check . &&
docformatter --recursive --check hdacpy/ tests/ setup.py
fi
# Tests
- pytest --cov
after_success:
# Upload coverage (only in Python 3.6 job, to not spam codecov with the same coverage report)
- if [[ $TRAVIS_PYTHON_VERSION == '3.6' ]]; then codecov; fi
- bash <(curl -s https://codecov.io/bash)

0 comments on commit ff15f45

Please sign in to comment.