Commit 598cd95 1 parent 5704565 commit 598cd95 Copy full SHA for 598cd95
File tree 4 files changed +13
-13
lines changed
4 files changed +13
-13
lines changed Original file line number Diff line number Diff line change 11
11
notifications :
12
12
email :
13
13
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
2
2
Combinatorics 0.6.0
Original file line number Diff line number Diff line change @@ -21,6 +21,11 @@ notifications:
21
21
22
22
install :
23
23
- 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." }
24
29
# Download most recent Julia Windows binary
25
30
- ps : (new-object net.webclient).DownloadFile(
26
31
$env:JULIA_URL,
@@ -29,8 +34,11 @@ install:
29
34
- C:\projects\julia-binary.exe /S /D=C:\projects\julia
30
35
31
36
build_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\")"
34
42
35
43
test_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