Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
S
setuptools
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
0
Issues
0
List
Boards
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Analytics
Analytics
CI / CD
Repository
Value Stream
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
Jérome Perrin
setuptools
Commits
604fc1ec
Commit
604fc1ec
authored
Oct 21, 2018
by
Benoit Pierre
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
coverage: ignore invalid Python 3.8 coverage data
parent
32bbe849
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
11 additions
and
16 deletions
+11
-16
.travis.yml
.travis.yml
+11
-16
No files found.
.travis.yml
View file @
604fc1ec
...
...
@@ -9,7 +9,9 @@ jobs:
-
<<
:
*latest_py2
env
:
LANG=C
-
python
:
pypy
env
:
DISABLE_COVERAGE=1
# Don't run coverage on pypy (too slow).
-
python
:
pypy3
env
:
DISABLE_COVERAGE=1
-
python
:
3.4
-
python
:
3.5
-
&default_py
...
...
@@ -21,6 +23,7 @@ jobs:
env
:
LANG=C
-
python
:
3.8-dev
dist
:
xenial
env
:
DISABLE_COVERAGE=1
# Ignore invalid coverage data.
-
<<
:
*default_py
stage
:
deploy (to PyPI for tagged commits)
if
:
tag IS present
...
...
@@ -59,28 +62,20 @@ install:
script
:
-
|
( # Run testsuite.
set -ex
case $TRAVIS_PYTHON_VERSION in
pypy*)
# Don't run coverage on pypy (too slow).
tox
;;
*)
if [ -z "$DISABLE_COVERAGE" ]
then
tox -- --cov
;;
esac
else
tox
fi
)
after_success
:
-
|
( # Upload coverage data.
set -ex
case $TRAVIS_PYTHON_VERSION in
pypy*)
;;
*)
if [ -z "$DISABLE_COVERAGE" ]
then
export TRAVIS_JOB_NAME="${TRAVIS_PYTHON_VERSION} (LANG=$LANG)" CODECOV_ENV=TRAVIS_JOB_NAME
tox -e coverage,codecov
;;
esac
fi
)
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment