mirror of
https://github.com/davidhalter/parso.git
synced 2026-02-08 10:51:23 +08:00
tests: add coverage tox factor, use it on Travis
This commit is contained in:
committed by
Dave Halter
parent
7770e73609
commit
c4d6de2aab
11
.travis.yml
11
.travis.yml
@@ -11,15 +11,14 @@ python:
|
||||
matrix:
|
||||
include:
|
||||
- python: 3.5
|
||||
env: TOXENV=cov
|
||||
allow_failures:
|
||||
- env: TOXENV=cov
|
||||
env: TOXENV=py35-coverage
|
||||
install:
|
||||
- pip install --quiet tox-travis
|
||||
script:
|
||||
- tox
|
||||
after_script:
|
||||
- if [ $TOXENV == "cov" ]; then
|
||||
pip install --quiet coveralls;
|
||||
coveralls;
|
||||
- |
|
||||
if [ "${TOXENV%-coverage}" == "$TOXENV" ]; then
|
||||
pip install --quiet coveralls;
|
||||
coveralls;
|
||||
fi
|
||||
|
||||
Reference in New Issue
Block a user