Skip to content
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

Merged
merged 3 commits into from
Mar 19, 2016
Merged

Fix and speed up travis builds #63

merged 3 commits into from
Mar 19, 2016

Conversation

TimoRoth
Copy link
Member

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.

@TimoRoth TimoRoth changed the title Fix and speeup travis builds Fix and speed up travis builds Mar 18, 2016
@coveralls
Copy link

Coverage Status

Coverage decreased (-0.2%) to 91.933% when pulling a55857f on TimoRoth:master into a93696e on OGGM:master.

@fmaussion
Copy link
Member

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
Copy link
Member

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?

Copy link
Member Author

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).

@fmaussion
Copy link
Member

Perfect, thanks!

fmaussion added a commit that referenced this pull request Mar 19, 2016
Fix and speed up travis builds
@fmaussion fmaussion merged commit 67ceb45 into OGGM:master Mar 19, 2016
anoukvlug pushed a commit to anoukvlug/oggm that referenced this pull request Jul 6, 2022
* 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
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.

None yet

3 participants