diff --git a/appveyor.yml b/appveyor.yml index 43013a2..b139147 100644 --- a/appveyor.yml +++ b/appveyor.yml @@ -3,6 +3,10 @@ environment: - julia_version: 0.7 - julia_version: 1 +platform: + - x86 + - x64 + branches: only: - master @@ -16,17 +20,12 @@ notifications: install: # 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/version-1/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 "versioninfo(); - Pkg.clone(pwd(), \"DandelionWebSockets\"); Pkg.build(\"DandelionWebSockets\")" + - echo "%JL_BUILD_SCRIPT%" + - C:\julia\bin\julia -e "%JL_BUILD_SCRIPT%" test_script: - - C:\projects\julia\bin\julia --check-bounds=yes -e "Pkg.test(\"DandelionWebSockets\")" + - echo "%JL_TEST_SCRIPT%" + - C:\julia\bin\julia -e "%JL_TEST_SCRIPT%"