Split Julia test into two
Julia 0.7+ changes the package manager to now have unexpected output (which borks our hello-world test as-is).
This commit is contained in:
parent
a4fd877c52
commit
cb1953b43a
|
|
@ -103,6 +103,7 @@ imageTests+=(
|
|||
'
|
||||
[julia]='
|
||||
julia-hello-world
|
||||
julia-downloads
|
||||
'
|
||||
[logstash]='
|
||||
logstash-basics
|
||||
|
|
|
|||
|
|
@ -0,0 +1,10 @@
|
|||
# https://github.com/docker-library/julia/pull/6
|
||||
download("https://google.com")
|
||||
|
||||
# https://github.com/docker-library/julia/pull/9
|
||||
if VERSION.major > 0 || (VERSION.major == 0 && VERSION.minor >= 7)
|
||||
# https://github.com/docker-library/julia/pull/21
|
||||
# https://github.com/JuliaLang/julia/tree/v0.7.0-beta2/stdlib/Pkg
|
||||
using Pkg
|
||||
end
|
||||
Pkg.add("JSON")
|
||||
|
|
@ -0,0 +1 @@
|
|||
../run-julia-in-container.sh
|
||||
|
|
@ -1,7 +1 @@
|
|||
println("Hello World!");
|
||||
|
||||
# https://github.com/docker-library/julia/pull/6
|
||||
download("https://google.com");
|
||||
|
||||
# https://github.com/docker-library/julia/pull/9
|
||||
Pkg.add("JSON");
|
||||
println("Hello World!")
|
||||
|
|
|
|||
Loading…
Reference in New Issue