A few things are wrong there. If you want to test on stable, then
JULIAVERSION should be "stable/win32" or "stable/win64", and the line in
install that downloads the binary should say
$("http://status.julialang.org/"+$env:JULIAVERSION), i.e. not include
download in it.
You'll also want to replace "mlubin" with $env:APPVEYOR_ACCOUNT_NAME.
On Monday, February 23, 2015 at 9:28:38 PM UTC-8, Ismael VC wrote:
>
> This is the log:
>
> [00:00:00] Build started
> [00:00:10] git clone -q --branch=master git://
> github.com/Ismael-VC/AHN.jl.git C:\projects\ahn-jl
> [00:00:17] git checkout -qf 49367576242db296b6cd360e086b0ca4acc0d492
> [00:00:17] Running Install scripts
> [00:00:17] if ($env:APPVEYOR_PULL_REQUEST_NUMBER -and
> $env:APPVEYOR_BUILD_NUMBER -ne ((Invoke-RestMethod `
> https://ci.appveyor.com/api/projects/mlubin/$env:APPVEYOR_PROJECT_SLUG/history?recordsNumber=50).builds
>
> | ` Where-Object pullRequestId -eq
> $env:APPVEYOR_PULL_REQUEST_NUMBER)[0].buildNumber) { ` throw "There are
> newer queued builds for this pull request, failing early." }
> [00:00:17] (new-object net.webclient).DownloadFile($("
> http://status.julialang.org/download/"+$env:JULIAVERSION),
> "C:\projects\julia-binary.exe")
> [00:00:19] C:\projects\julia-binary.exe /S /D=C:\projects\julia
> [00:00:19] This version of C:\projects\julia-binary.exe is not compatible
> with the version of Windows you're running. Check your computer's system
> information and then contact the software publisher.
> [00:00:19] Command exited with code 1
>
>
>
> - https://ci.appveyor.com/project/Ismael-VC/ahn-jl/build/1.0.9/messages
>
>
> This is my `appveyor.yml`:
>
> environment:
> matrix:
> - JULIAVERSION: "stable/win32"
>
> skip_commits:
> # Add [av skip] to commit messages for docfixes, etc to reduce load on queue
> message: /\[av skip\]/
>
> install:
> # if there's a newer build queued for the same PR, cancel this one
> - ps: if ($env:APPVEYOR_PULL_REQUEST_NUMBER -and $env:APPVEYOR_BUILD_NUMBER
> -ne ((Invoke-RestMethod `
>
> https://ci.appveyor.com/api/projects/mlubin/$env:APPVEYOR_PROJECT_SLUG/history?recordsNumber=50).builds
> | `
> Where-Object pullRequestId -eq
> $env:APPVEYOR_PULL_REQUEST_NUMBER)[0].buildNumber) { `
> throw "There are newer queued builds for this pull request, failing
> early." }
> # Download most recent Julia Windows binary
> - ps: (new-object
> net.webclient).DownloadFile($("http://status.julialang.org/download/"+$env:JULIAVERSION),
> "C:\projects\julia-binary.exe")
> # Run installer silently, output to C:\projects\julia
> - C:\projects\julia-binary.exe /S /D=C:\projects\julia
>
> 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-debug -e "versioninfo(); Pkg.init();
> Pkg.clone(pwd(), \"AHN\")"
>
> test_script:
> - C:\projects\julia\bin\julia-debug -e "Pkg.test(\"AHN\")"
>
>
>
> - https://github.com/Ismael-VC/AHN.jl/blob/master/appveyor.yml
>
>
>