Only install coveralls after success

This commit is contained in:
Jonathan Kim 2019-06-14 11:57:01 +01:00
parent 246dc69c67
commit 1481d6a63a

View File

@ -19,14 +19,21 @@ matrix:
python: 3.6 python: 3.6
- env: TOXENV=mypy - env: TOXENV=mypy
python: 3.6 python: 3.6
install: install:
- pip install coveralls tox - pip install tox
script: tox script: tox
after_success: coveralls
after_success:
- pip install coveralls
- coveralls
cache: cache:
directories: directories:
- $HOME/.cache/pip - $HOME/.cache/pip
- $HOME/.cache/pre-commit - $HOME/.cache/pre-commit
deploy: deploy:
provider: pypi provider: pypi
user: syrusakbary user: syrusakbary