tAdd julia-0.7 tests, only install NetCDF on Julia 0.6 - Granular.jl - Julia pa… | |
git clone git://src.adamsgaard.dk/Granular.jl | |
Log | |
Files | |
Refs | |
README | |
LICENSE | |
--- | |
commit 4126f71fe22c2eb99197ceffe15ab8cfae1ff6a7 | |
parent 6c9c0d321169a8fa21b710f65950bdc82c0b5946 | |
Author: Anders Damsgaard <[email protected]> | |
Date: Wed, 8 Aug 2018 16:48:16 +0200 | |
Add julia-0.7 tests, only install NetCDF on Julia 0.6 | |
Diffstat: | |
M .travis.yml | 3 +++ | |
M Makefile | 14 +++++++------- | |
2 files changed, 10 insertions(+), 7 deletions(-) | |
--- | |
diff --git a/.travis.yml b/.travis.yml | |
t@@ -7,6 +7,7 @@ os: | |
julia: | |
- 0.6 | |
+ - 0.7 | |
- nightly | |
notifications: | |
t@@ -22,6 +23,8 @@ addons: | |
before_script: # NetCDF is not required, but test its dependent functions any… | |
- 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 | |
t@@ -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: | |
t@@ -10,12 +10,12 @@ test-julia-0.6: | |
&& notify-send Granular.jl tests completed successfully on Jul… | |
|| 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 Jul… | |
- || 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 Jul… | |
+ || notify-send Granular.jl failed on Julia 1.0 | |
.PHONY: docs | |
docs: |