diff --git a/.travis.yml b/.travis.yml index 4dbcd38..2eaddc0 100644 --- a/.travis.yml +++ b/.travis.yml @@ -4,19 +4,12 @@ os: - osx julia: - 0.7 + - 1.0 - nightly matrix: allow_failures: - julia: nightly notifications: email: false -#script: # use the default script setting which is equivalent to the following -# - if [[ -a .git/shallow ]]; then git fetch --unshallow; fi -# - julia -e 'Pkg.clone(pwd()); Pkg.build("QuartzImageIO");' -# - julia -e 'Pkg.test("QuartzImageIO"; coverage=true)' -script: - - if [[ -a .git/shallow ]]; then git fetch --unshallow; fi - - julia -e 'Pkg.clone(pwd())' - - CGBITMAP_CONTEXT_LOG_ERRORS=1 julia -e 'Pkg.test("QuartzImageIO"; coverage=true)' after_success: - julia -e 'cd(Pkg.dir("QuartzImageIO")); Pkg.add("Coverage"); using Coverage; Codecov.submit(process_folder())' diff --git a/REQUIRE b/REQUIRE index 4c71a6b..4a4565f 100644 --- a/REQUIRE +++ b/REQUIRE @@ -1,6 +1,6 @@ -julia 0.7.0-beta2 -FileIO 1.0.0 +julia 0.7 +FileIO 1.0 ImageCore 0.7 ColorTypes 0.3 ColorVectorSpace 0.2 -FixedPointNumbers 0.3.0 +FixedPointNumbers 0.3 diff --git a/test/runtests.jl b/test/runtests.jl index 2321a12..89e07ba 100644 --- a/test/runtests.jl +++ b/test/runtests.jl @@ -256,7 +256,7 @@ end @testset "HSV" begin # issue 37 - srand(42) + Random.seed!(42) img = rand(HSV{Float32}, 8, 10) out_name = joinpath(mydir, "hsv.png") save(out_name, img) @@ -267,7 +267,7 @@ end end @testset "HSL" begin - srand(42) + Random.seed!(42) img = rand(HSL{Float32}, 8, 10) out_name = joinpath(mydir, "hsl.png") save(out_name, img) @@ -278,7 +278,7 @@ end end @testset "Lab" begin - srand(42) + Random.seed!(42) img = rand(Lab{Float32}, 8, 10) out_name = joinpath(mydir, "Lab.png") save(out_name, img)