commit 4126f71fe22c2eb99197ceffe15ab8cfae1ff6a7
parent 6c9c0d321169a8fa21b710f65950bdc82c0b5946
Author: Anders Damsgaard <anders@adamsgaard.dk>
Date: Wed, 8 Aug 2018 16:48:16 +0200
Add julia-0.7 tests, only install NetCDF on Julia 0.6
Diffstat:
2 files changed, 10 insertions(+), 7 deletions(-)
diff --git a/.travis.yml b/.travis.yml
@@ -7,6 +7,7 @@ os:
julia:
- 0.6
+ - 0.7
- nightly
notifications:
@@ -22,6 +23,8 @@ addons:
before_script: # NetCDF is not required, but test its dependent functions anyway
- julia -e 'Pkg.add("NetCDF")'
+ on:
+ julia: 0.6
script:
- if [[ -a .git/shallow ]]; then git fetch --unshallow; fi
diff --git a/Makefile b/Makefile
@@ -1,7 +1,7 @@
default: test
.PHONY: test
-test: test-julia-0.6 test-julia-0.7
+test: test-julia-0.6 test-julia-1.0
.PHONY: test-julia-0.6
test-julia-0.6:
@@ -10,12 +10,12 @@ test-julia-0.6:
&& notify-send Granular.jl tests completed successfully on Julia 0.6 \
|| notify-send Granular.jl failed on Julia 0.6
-.PHONY: test-julia-0.7
-test-julia-0.7:
- @#julia-0.7 --color=yes -e 'Pkg.test("Granular")'
- julia-0.7 --color=yes -e 'import Pkg; Pkg.test("Granular")' \
- && notify-send Granular.jl tests completed successfully on Julia 0.7 \
- || notify-send Granular.jl failed on Julia 0.7
+.PHONY: test-julia-1.0
+test-julia-1.0:
+ @#julia-1.0 --color=yes -e 'Pkg.test("Granular")'
+ julia-1.0 --color=yes -e 'import Pkg; Pkg.test("Granular")' \
+ && notify-send Granular.jl tests completed successfully on Julia 1.0 \
+ || notify-send Granular.jl failed on Julia 1.0
.PHONY: docs
docs: