-
Notifications
You must be signed in to change notification settings - Fork 5
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
Travis integration, conda environment yml #2
Merged
Conversation
This file contains 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
@JelleAalbers Thanks! This looks great. Re boost - let me work on this and see if we can't pull boost from anaconda as well. Note that I already have deployments in DeployHQ, but switching to Travis makes sense if that is what the rest of the project is using. I will try to look at this later this week. |
I'm going to merge this, and then put my local changes on top |
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 does the following:
Currently the build fails (see https://travis-ci.org/JelleAalbers/base_environment) due to an issue with the GFAL2 python bindings: they can't find the boost headers. I saw the same problem trying to build the container on my laptop, though I don't think I tried exactly the current master (and I don't have enough disk space at the moment to try again ;-). @rynge Is the current master working for you, and if so, any ideas on what I messed up?
The travis.yml file has a curious while command, borrowed from travis-ci/travis-ci#4190. We currently compile boost from source, which takes >= 15 minutes. This is longer than TravisCI allows commands to run without producing output. I tried adding boost to the conda package list instead, but then gfal complains about missing headers. I tried to remove
run_quietly
, but then ravis kills the job for producing too much output. I also tried travis_wait, but this apparently only works when wrapped around the entire build command, and would suppress its output.(and sorry for the mess of commits, when we get this to work you probably want to squash-merge)