Skip to content

Switch Travis to use tox #541

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 1 commit into from
Jan 25, 2017

Conversation

sigmavirus24
Copy link
Member

@sigmavirus24 sigmavirus24 commented Jun 7, 2016

This reduces confusion about how travis runs tests versus a local
developer.

Note this also adds a Flake8 test env and runs it at the gate to catch other instances of #540

@sigmavirus24 sigmavirus24 force-pushed the use-tox-with-travis branch 2 times, most recently from be00648 to 287da10 Compare June 7, 2016 21:13
deps =
flake8
commands =
flake8 pycodestyle.py
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

What's the rationale behind running flake8 on pycodestyle? Not specifically disagreeing, just seems to not be part of the "Switch Travis to use tox" issue.

Copy link
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Flake8, as I'm sure you know, includes pyflakes. When I was writing some of the more recent pull requests, I found several pyflakes lint problems (which I also submitted separate pull requests for). If pycodestyle runs flake8 on all submitted changes, then those shouldn't pop up again.

It's something of an extra check to ensure the quality of pycodestyle doesn't dip.

@sigmavirus24 sigmavirus24 force-pushed the use-tox-with-travis branch 6 times, most recently from 0eba374 to e0106dd Compare January 25, 2017 13:01
This reduces confusion about how travis runs tests versus a local
developer.

Unfortunately, pypy3 on Travis is stuck to a version that only
implements Python 3.2. There is no convenient work around for that
version so we remove it from our matrix until Travis updates their
images.
@sigmavirus24 sigmavirus24 merged commit 860369c into PyCQA:master Jan 25, 2017
@sigmavirus24 sigmavirus24 deleted the use-tox-with-travis branch January 25, 2017 13:24
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants