commit 293b6f585493e29809b329584babc4eae2154f45
parent 4126f71fe22c2eb99197ceffe15ab8cfae1ff6a7
Author: Anders Damsgaard <anders@adamsgaard.dk>
Date: Wed, 8 Aug 2018 17:02:41 +0200
Parse before_script step for NetCDF installation in Julia
Diffstat:
1 file changed, 1 insertion(+), 3 deletions(-)
diff --git a/.travis.yml b/.travis.yml
@@ -22,9 +22,7 @@ addons:
- imagemagick
before_script: # NetCDF is not required, but test its dependent functions anyway
- - julia -e 'Pkg.add("NetCDF")'
- on:
- julia: 0.6
+ - julia -e 'VERSION <= v"0.6.99" && Pkg.add("NetCDF")'
script:
- if [[ -a .git/shallow ]]; then git fetch --unshallow; fi