-
Notifications
You must be signed in to change notification settings - Fork 100
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
Fix and speed up travis builds #63
Conversation
Thanks! I just restarted the py2.7 build to see if it now completes. |
- pip install -U pip | ||
- pip install wheel | ||
install: | ||
- travis_wait pip wheel -r ci/requirements.txt | ||
- travis_wait pip install -r ci/requirements.txt | ||
- travis_wait pip install --upgrade --force-reinstall -r ci/requirements.txt |
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.
Isn't the --force-reinstall
always reinstalling the builds, thus not taking advantages of the wheels?
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.
It still uses the wheels, just forces installation even if the same version is already installed(by the system package manager in this case).
Perfect, thanks! |
Fix and speed up travis builds
* 4th workshop announcement * Small update 4th workshop announcement * Update of 4th OGGM annoucement * Update of the 4th workshop annoucement * Some modifs Mostly naming things: "workshop" and "training" * Final review of the workshop annoucement * Small spelling errors * Last Ben comments * Missing space
The python 2.7 builds were failing because the pip wheel downloaded and compiled a local numpy version, which all the other pip packages were using.
But because of the installed system numpy, pip install never installed it, so the other packages failed because of the incompatible ABI of the system numpy.
In turn I also made python 2.7 required for Travis to pass again, so no python2 incompatible code sneaks in.
This also gets rid of xvfb, and instead switches matplotlib to a headless backend.
Speeds up the build by a few minutes.