-
Notifications
You must be signed in to change notification settings - Fork 235
Build GMT master instead of using conda-forge #261
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
Changes from 21 commits
2bd6da9
3779968
a04bf4b
af904da
f19318e
7950c56
988bab0
d3e76f0
82cabf6
69b740a
436ea2d
98c2185
ae6029b
2d85ad6
3dd2719
be4378d
58da665
1ef43f3
d74dc6f
f72a706
b977d70
87a6517
b115d20
0f01277
File filter
Filter by extension
Conversations
Jump to
Diff view
Diff view
There are no files selected for viewing
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -0,0 +1,16 @@ | ||
| #!/bin/bash | ||
| # Download and build the GMT master branch. Used by TravisCI. | ||
|
|
||
| set -e | ||
|
|
||
| mkdir -p "$INSTALLDIR" | ||
| mkdir -p "$COASTLINEDIR" | ||
| git clone --depth=1 --branch=master https://github.com/GenericMappingTools/gmt.git tmp | ||
|
Member
Author
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. Why not clone it to gmt-master directly? Any side-effects?
Member
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. It's because of the cache. I'm having Travis cache
Member
Author
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. Got it. |
||
| mkdir -p gmt-master | ||
| cp -r tmp/* gmt-master | ||
| rm -rf tmp | ||
| cd gmt-master | ||
| bash ci/download-coastlines.sh | ||
| bash ci/build-gmt.sh | ||
|
|
||
| set +e | ||
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.
No need to install
graphicsmagick,pythonandpython-piphere, since they're used by GMT to do tests and build documentations.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.
Right, good catch