kopia lustrzana https://github.com/jupyterhub/repo2docker
Update julia tests
rodzic
97c66e90f3
commit
02c531dc50
|
@ -0,0 +1,5 @@
|
||||||
|
[deps]
|
||||||
|
IteratorInterfaceExtensions = "82899510-4779-5014-852e-03e436cf321d"
|
||||||
|
|
||||||
|
[compat]
|
||||||
|
julia = "1.0.2"
|
|
@ -0,0 +1,4 @@
|
||||||
|
Julia - Project.toml: test version for julia v1.0.3
|
||||||
|
---------------
|
||||||
|
|
||||||
|
Test a Project.toml file for julia.
|
|
@ -1,6 +1,6 @@
|
||||||
#!/usr/bin/env julia
|
#!/usr/bin/env julia
|
||||||
# Verify the version:
|
# Verify the version:
|
||||||
if VERSION < v"1" || VERSION >= v"2"
|
if VERSION != v"1.0.2"
|
||||||
exit(1)
|
exit(1)
|
||||||
end
|
end
|
||||||
|
|
|
@ -0,0 +1,20 @@
|
||||||
|
#!/usr/bin/env julia
|
||||||
|
# Verify the version:
|
||||||
|
if VERSION < v"1.1.0"
|
||||||
|
exit(1)
|
||||||
|
end
|
||||||
|
|
||||||
|
using Pkg
|
||||||
|
pkg"activate ."
|
||||||
|
|
||||||
|
try
|
||||||
|
# Test that the package was installed.
|
||||||
|
using IteratorInterfaceExtensions
|
||||||
|
|
||||||
|
# Verify that the environment variables are set correctly for julia 1.0+
|
||||||
|
@assert "julia" ∈ readdir(Sys.BINDIR)
|
||||||
|
catch
|
||||||
|
exit(1)
|
||||||
|
end
|
||||||
|
|
||||||
|
exit(0)
|
Ładowanie…
Reference in New Issue