-
-
Notifications
You must be signed in to change notification settings - Fork 11.9k
TST: Pin virtualenv used on Travis CI. #7197
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
Changes from all commits
Commits
File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
There are no files selected for viewing
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
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.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
How does this comment look to you?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Looks OK.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Would be good to figure out why it fails, but I don't have time today and
it doesn't sound like anyone else does, so oh well a temporary hack does
put off the problem :-)
.
(Adding an 'ls path/to/venv/bin' to a failing build would be informative
about what's going on...)
.
NB for clarity: "virtualenv" and "venv" are actually two different things
(venv's are virtualenv-like environments that are provided as a built-in
feature of recent py3 releases).
On Fri, Feb 5, 2016 at 12:42 PM, jakirkham [email protected] wrote:
Nathaniel J. Smith -- https://vorpus.org http://vorpus.org
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Haha, yeah, would be nice. Figured I'd just end the stream of Travis failed emails instead.
Honestly, it is cases like this where I start preferring a different sort of CI all together like CircleCI where one can inspect the VM or Wercker where one can not only inspect a failed build, but can run the CI locally. The hack stuff into the CI script and wait a few minutes before more hacking just doesn't cut it for me.
Yep, I did discover that recently. Still this somehow fixes it. Kind of a mystery why atm.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Yeah, the problem is that AFAICT Travis is more generous than everyone else with respect to how much CPU time they offer to open source projects (e.g. CircleCI gives you 3 parallel workers, Drone.io gives you 1, Travis gives you 6. OTOH I haven't checked how fast Travis's workers are compared to the others...).
I'm 95% sure I saw somewhere where you can download the Travis container images to run locally, but now I can't seem to find it :-(
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Yeah, I thought I saw some sort of Travis CLI tool at some point too, but the docs on this seem to disappear, as well.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I suppose there is this ( https://github.com/travis-ci/travis-build ) and this ( https://github.com/travis-ci/worker ), but it feels like a bit much to get started with.
Alternatively, there is a docker image ( https://github.com/SonarSource/local-travis ) that can be pulled from Docker Hub that might be more friendly, but this is unofficial.