Update julia tests

pull/595/head
David Anthoff 2019-03-05 08:40:40 -08:00
rodzic 97c66e90f3
commit 02c531dc50
6 zmienionych plików z 30 dodań i 1 usunięć

Wyświetl plik

@ -0,0 +1,5 @@
[deps]
IteratorInterfaceExtensions = "82899510-4779-5014-852e-03e436cf321d"
[compat]
julia = "1.0.2"

Wyświetl plik

@ -0,0 +1,4 @@
Julia - Project.toml: test version for julia v1.0.3
---------------
Test a Project.toml file for julia.

Wyświetl plik

@ -1,6 +1,6 @@
#!/usr/bin/env julia
# Verify the version:
if VERSION < v"1" || VERSION >= v"2"
if VERSION != v"1.0.2"
exit(1)
end

Wyświetl plik

@ -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)