File tree Expand file tree Collapse file tree 4 files changed +13
-13
lines changed
Expand file tree Collapse file tree 4 files changed +13
-13
lines changed Original file line number Diff line number Diff line change 1111notifications :
1212 email :
1313 on_success : never
14- on_failure : never
14+ on_failure : always
Load Diff This file was deleted.
Original file line number Diff line number Diff line change 1- julia 0.7.0
1+ julia 0.7.0-beta2
22Combinatorics 0.6.0
Original file line number Diff line number Diff line change @@ -21,6 +21,11 @@ notifications:
2121
2222install :
2323 - ps : " [System.Net.ServicePointManager]::SecurityProtocol = [System.Net.SecurityProtocolType]::Tls12"
24+ # If there's a newer build queued for the same PR, cancel this one
25+ - ps : if ($env:APPVEYOR_PULL_REQUEST_NUMBER -and $env:APPVEYOR_BUILD_NUMBER -ne ((Invoke-RestMethod `
26+ https://ci.appveyor.com/api/projects/$env:APPVEYOR_ACCOUNT_NAME/$env:APPVEYOR_PROJECT_SLUG/history?recordsNumber=50).builds | `
27+ Where-Object pullRequestId -eq $env:APPVEYOR_PULL_REQUEST_NUMBER)[0].buildNumber) { `
28+ throw "There are newer queued builds for this pull request, failing early." }
2429# Download most recent Julia Windows binary
2530 - ps : (new-object net.webclient).DownloadFile(
2631 $env:JULIA_URL,
@@ -29,8 +34,11 @@ install:
2934 - C:\projects\julia-binary.exe /S /D=C:\projects\julia
3035
3136build_script :
32- - C:\projects\julia\bin\julia -e "versioninfo();
33- using Pkg; Pkg.build()"
37+ # Need to convert from shallow to complete for Pkg.clone to work
38+ - IF EXIST .git\shallow (git fetch --unshallow)
39+ - C:\projects\julia\bin\julia -e "using InteractiveUtils; versioninfo();
40+ Pkg.clone(pwd(), \"MotifSequenceGenerator\");
41+ Pkg.build(\"MotifSequenceGenerator\")"
3442
3543test_script :
36- - C:\projects\julia\bin\julia -e "using Pkg; Pkg .test()"
44+ - C:\projects\julia\bin\julia -e "Pkg.test(\"MotifSequenceGenerator\" )"
You can’t perform that action at this time.
0 commit comments