diff --git a/.travis.yml b/.travis.yml index 87f9300..906133b 100644 --- a/.travis.yml +++ b/.travis.yml @@ -5,15 +5,11 @@ os: - osx julia: - 0.6 + - 0.7 - nightly notifications: email: false matrix: fast_finish: true - allow_failures: - - julia: nightly -script: - - if [[ -a .git/shallow ]]; then git fetch --unshallow; fi - - julia -e 'Pkg.init(); Pkg.clone(pwd()); Pkg.test("FilePaths"; coverage=true)' after_success: - julia -e 'cd(Pkg.dir("FilePaths")); Pkg.add("Coverage"); using Coverage; Codecov.submit(process_folder())' diff --git a/REQUIRE b/REQUIRE index c06f962..49d8751 100644 --- a/REQUIRE +++ b/REQUIRE @@ -1,5 +1,5 @@ julia 0.6 -Compat 0.17.0 -URIParser -FilePathsBase 0.1.0 +Compat 1.0.0 +URIParser 0.3.1 +FilePathsBase 0.3.0 Reexport 0.1.0 diff --git a/appveyor.yml b/appveyor.yml index 43a17c2..6154523 100644 --- a/appveyor.yml +++ b/appveyor.yml @@ -1,7 +1,18 @@ environment: matrix: - - JULIA_URL: "https://julialang-s3.julialang.org/bin/winnt/x86/0.6/julia-0.6-latest-win32.exe" - - JULIA_URL: "https://julialang-s3.julialang.org/bin/winnt/x64/0.6/julia-0.6-latest-win64.exe" + - julia_version: 0.6 + - julia_version: 0.7 + - julia_version: latest + +platform: + - x86 + - x64 + +## uncomment the following lines to allow failures on nightly julia +## (tests will run but not make your overall status red) +#matrix: +# allow_failures: +# - julia_version: latest branches: only: @@ -15,21 +26,12 @@ notifications: on_build_status_changed: false install: - - ps: "[System.Net.ServicePointManager]::SecurityProtocol = [System.Net.SecurityProtocolType]::Tls12" -# Download most recent Julia Windows binary - - ps: (new-object net.webclient).DownloadFile( - $env:JULIA_URL, - "C:\projects\julia-binary.exe") -# Run installer silently, output to C:\projects\julia - - C:\projects\julia-binary.exe /S /D=C:\projects\julia + - ps: iex ((new-object net.webclient).DownloadString('https://raw.githubusercontent.com/JuliaCI/Appveyor.jl/master/bin/install.ps1')) build_script: -# Need to convert from shallow to complete for Pkg.clone to work - - IF EXIST .git\shallow (git fetch --unshallow) - - C:\projects\julia\bin\julia -e "Pkg.clone(pwd(), \"FilePaths\"); versioninfo(); Pkg.build(\"FilePaths\")" + - echo "%JL_BUILD_SCRIPT%" + - julia -e "%JL_BUILD_SCRIPT%" test_script: - - C:\projects\julia\bin\julia --check-bounds=yes -e "Pkg.test(\"FilePaths\", coverage=true)" - -after_test: - - C:\projects\julia\bin\julia -e "cd(Pkg.dir(\"FilePaths\")); Pkg.add(\"Coverage\"); using Coverage; Codecov.submit(Codecov.process_folder())" + - echo "%JL_TEST_SCRIPT%" + - julia -e "%JL_TEST_SCRIPT%" diff --git a/test/REQUIRE b/test/REQUIRE deleted file mode 100644 index 8b13789..0000000 --- a/test/REQUIRE +++ /dev/null @@ -1 +0,0 @@ - diff --git a/test/runtests.jl b/test/runtests.jl index 05f04d0..e527e39 100644 --- a/test/runtests.jl +++ b/test/runtests.jl @@ -1,5 +1,6 @@ using FilePaths -using Base.Test +using Compat +using Compat.Test @testset "FilePaths" begin