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
49b65d25
Commit
49b65d25
authored
Mar 21, 2018
by
Paul Ganssle
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Add codecov to tox and travis
parent
65c5ae1a
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
8 additions
and
1 deletion
+8
-1
.travis.yml
.travis.yml
+2
-1
tox.ini
tox.ini
+6
-0
No files found.
.travis.yml
View file @
49b65d25
...
@@ -56,4 +56,5 @@ install:
...
@@ -56,4 +56,5 @@ install:
script
:
tox
script
:
tox
after_success
:
after_success
:
-
if [[ $TOXENV == "py" ]]; then tox -e coverage; fi
-
if [[ $TOXENV == "py" ]]; then tox -e coverage,codecov; fi
tox.ini
View file @
49b65d25
...
@@ -25,6 +25,12 @@ commands=coverage erase
...
@@ -25,6 +25,12 @@ commands=coverage erase
coverage
report
--rcfile
=
{toxinidir}/tox.ini
coverage
report
--rcfile
=
{toxinidir}/tox.ini
coverage
xml
coverage
xml
[testenv:codecov]
description
=
[Only run on CI]: Upload coverage data to codecov
deps
=
codecov
skip_install
=
True
commands
=
codecov --file {toxworkdir}/coverage.xml
[coverage:run]
[coverage:run]
source
=
setuptools
source
=
setuptools
...
...
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