Skip to content

Commit

Permalink
appveyor: update config from example
Browse files Browse the repository at this point in the history
  • Loading branch information
erikedin committed Sep 8, 2018
1 parent f0efd83 commit 79e4c82
Showing 1 changed file with 9 additions and 10 deletions.
19 changes: 9 additions & 10 deletions appveyor.yml
Expand Up @@ -3,6 +3,10 @@ environment:
- julia_version: 0.7
- julia_version: 1

platform:
- x86
- x64

branches:
only:
- master
Expand All @@ -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%"

0 comments on commit 79e4c82

Please sign in to comment.