-
Notifications
You must be signed in to change notification settings - Fork 29
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #571 from GenericMappingTools/v031
Prepare to v.0.31
- Loading branch information
Showing
7 changed files
with
97 additions
and
34 deletions.
There are no files selected for viewing
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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,61 @@ | ||
# Documentation: http://docs.travis-ci.com/user/languages/julia/ | ||
language: julia | ||
|
||
sudo: false | ||
|
||
os: | ||
- linux | ||
dist: eoan | ||
julia: | ||
- 1.6 | ||
matrix: | ||
allow_failures: | ||
- julia: nightly | ||
notifications: | ||
email: true | ||
before_install: | ||
#- if [ `uname` = "linux" ]; then sudo apt-get install gmt gmt-dcw gmt-gshhg; fi | ||
# Get Miniconda from Continuum | ||
# Need to source the script to set the PATH variable in this environment | ||
#- source install-miniconda.sh | ||
#- conda update conda -c conda-forge --yes --quiet | ||
# Install dependencies | ||
#- conda install python=3.6 pip -c conda-forge --yes --quiet | ||
#- conda install --file requirements-dev.txt -c conda-forge --yes --quiet | ||
# Need the dev channel to get development builds of GMT 6 | ||
#- conda install --file requirements.txt -c conda-forge/label/dev -c conda-forge --yes --quiet | ||
# Show installed pkg information for postmortem diagnostic | ||
#- conda list | ||
# Install GMT trunk | ||
- pwd | ||
- sudo apt-get install subversion build-essential cmake libcurl4-gnutls-dev libnetcdf-dev libgdal-dev gdal-bin libfftw3-dev libpcre3-dev liblapack-dev ghostscript | ||
- git clone --depth=10 https://github.com/GenericMappingTools/gmt.git $HOME/gmt | ||
#- git clone --depth=10 -b external-lib-access --single-branc https://github.com/joa-quim/gmt.git $HOME/gmt | ||
- PATH="$HOME/gmt/bin:$PATH" | ||
- export PATH | ||
- echo 'export PATH="$HOME/gmt/bin:$PATH"' >>~/.bash_profile | ||
- cd $HOME/gmt | ||
- gdalinfo --version | ||
#- wget ftp://ftp.soest.hawaii.edu/gshhg/gshhg-gmt-2.3.7.tar.gz | ||
#- wget http://w3.ualg.pt/~jluis/ftp/gshhg-gmt-2.3.7.tar.gz | ||
- wget https://github.com/GenericMappingTools/gshhg-gmt/releases/download/2.3.7/gshhg-gmt-2.3.7.tar.gz | ||
- tar -xvzf gshhg-gmt-2.3.7.tar.gz | ||
#- wget http://w3.ualg.pt/~jluis/ftp/dcw-gmt-1.1.4.tar.gz | ||
- wget https://github.com/GenericMappingTools/dcw-gmt/releases/download/1.1.4/dcw-gmt-1.1.4.tar.gz | ||
- tar -xvzf dcw-gmt-1.1.4.tar.gz | ||
- mkdir build | ||
- cd build | ||
- cmake --config Release .. -DSUPPORT_EXEC_IN_BINARY_DIR=TRUE -DGMT_ENABLE_OPENMP=ON -DCMAKE_INSTALL_PREFIX=$HOME/gmt -DGSHHG_ROOT=$HOME/gmt/gshhg-gmt-2.3.7 | ||
- make -j && make install | ||
#- export LD_LIBRARY_PATH="$LD_LIBRARY_PATH:$HOME/gmt/lib" | ||
- cd /home/travis/build/GenericMappingTools/GMT.jl | ||
#- if [ `uname` = "Darwin" ]; then brew update && brew upgrade && brew install gmt; fi | ||
|
||
# uncomment the following lines to override the default test script | ||
script: | ||
#- if [[ -a .git/shallow ]]; then git fetch --unshallow; fi | ||
- julia -e 'using Pkg; Pkg.build(); Pkg.test(; coverage=true);' | ||
after_success: | ||
- julia -e 'using Pkg; cd(Pkg.dir("GMT")); Pkg.add("Coverage"); using Coverage; Codecov.submit(process_folder())' | ||
- julia -e 'using Pkg; ps=Pkg.PackageSpec(name="Documenter"); Pkg.add(ps); Pkg.pin(ps)' | ||
- julia -e 'using Pkg; cd(Pkg.dir("GMT")); include(joinpath("docs", "make.jl"))' |
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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,7 +1,7 @@ | ||
name = "GMT" | ||
uuid = "5752ebe1-31b9-557e-87aa-f909b540aa54" | ||
authors = ["Joaquim Luis <[email protected]>"] | ||
version = "0.30.1" | ||
version = "0.31.0" | ||
|
||
[deps] | ||
Dates = "ade2ca70-3891-5945-98fb-dc099432e06a" | ||
|
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
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
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
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
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