Repository navigation
Use tox under Travis to include pep8, sdist, etc checks - #877
Merged
Merged
Conversation
Current coverage is 79.99%@@ master #877 diff @@
==========================================
Files 312 312
Lines 47496 47560 +64
Methods 0 0
Messages 0 0
Branches 0 0
==========================================
+ Hits 37992 38046 +54
- Misses 9504 9514 +10
Partials 0 0
|
Member
Author
|
The fact that CodeCov reports no change in test coverage suggests that I didn't accidentally reduce the coverage by changing the dependencies installed on each version of Python :) |
Member
|
Looks great, thanks! |
Member
Author
|
If there are no objections, I plan to apply this by the end of the week. |
Member
Author
|
One downside as written (compared to the current That leaves me slightly puzzled as to why no change in test coverage was report - perhaps the online tests had been failing? |
peterjc
force-pushed
the
tox2
branch
2 times, most recently
from
July 22, 2016 13:56
b918899 to
aaf0974
Compare
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
This would close #840 by including a pep8 target on TravisCI (the exact options to the pep8 tool and those for the git pre-commit hook on #493 can be refined).
It also adds TravisCI targets to check
python setup.py sdist --manifest-onlyandpython setup.py sdist --formats=gztar,zipworks (as used in our build process) which is how I came to commit d90f53b which was a regression from gettingpython setup.py bdist_wheelto run (which would also now be tested on TravisCI).The new build targets (
pep8,sdist, andbdist_wheel) are all quite quick (1.5 mins, 1 min, 1 min) and so do not unduly add to the TravisCI load compared to our main test suite.Note I am deliberately avoiding using
tox.iniin order to allow this to co-exist with any user's own Tox configuration on their own machine (see #50). We could explicitly add that to the.gitignorefile?CC @cbrueffer @tiagoantao @msabramo @bow