Merge pull request #4374 from blueyed/doctesting

CI: doctesting uses coverage, fiy py37 on AppVeyor
This commit is contained in:
Bruno Oliveira 2018-11-12 13:57:58 -02:00 committed by GitHub
commit 93a9836962
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
2 changed files with 3 additions and 4 deletions

View File

@ -56,7 +56,7 @@ jobs:
- env: TOXENV=py34
python: '3.4'
- env: TOXENV=py36
- env: TOXENV=linting,docs,doctesting PYTEST_NO_COVERAGE=1
- env: TOXENV=linting,docs,doctesting
- stage: deploy
python: '3.6'
@ -89,8 +89,8 @@ after_success:
- |
if [[ "$PYTEST_NO_COVERAGE" != 1 ]]; then
set -e
# Add first TOXENV to $PATH.
PATH="$PWD/.tox/${TOXENV%%,*}/bin:$PATH"
# Add last TOXENV to $PATH.
PATH="$PWD/.tox/${TOXENV##*,}/bin:$PATH"
coverage combine
coverage xml --ignore-errors
coverage report -m --ignore-errors

View File

@ -2,7 +2,6 @@ environment:
matrix:
- TOXENV: "py27"
- TOXENV: "py37"
PYTEST_NO_COVERAGE: "1"
- TOXENV: "linting,docs,doctesting"
- TOXENV: "py36"
- TOXENV: "py35"