tappveyor.yml - Granular.jl - Julia package for granular dynamics simulation
(HTM) git clone git://src.adamsgaard.dk/Granular.jl
(DIR) Log
(DIR) Files
(DIR) Refs
(DIR) README
(DIR) LICENSE
---
tappveyor.yml (1683B)
---
1 environment:
2 matrix:
3 - JULIA_URL: "https://julialang-s3.julialang.org/bin/winnt/x64/1.0/julia-1.0-latest-win64.exe"
4 - JULIA_URL: "https://julialang-s3.julialang.org/bin/winnt/x64/1.1/julia-1.1-latest-win64.exe"
5 - JULIA_URL: "https://julialangnightlies-s3.julialang.org/bin/winnt/x64/julia-latest-win64.exe"
6
7 branches:
8 only:
9 - master
10 - /release-.*/
11
12 notifications:
13 - provider: Email
14 on_build_success: false
15 on_build_failure: false
16 on_build_status_changed: false
17
18 install:
19 - ps: "[System.Net.ServicePointManager]::SecurityProtocol = [System.Net.SecurityProtocolType]::Tls12"
20 # If there's a newer build queued for the same PR, cancel this one
21 - ps: if ($env:APPVEYOR_PULL_REQUEST_NUMBER -and $env:APPVEYOR_BUILD_NUMBER -ne ((Invoke-RestMethod `
22 https://ci.appveyor.com/api/projects/$env:APPVEYOR_ACCOUNT_NAME/$env:APPVEYOR_PROJECT_SLUG/history?recordsNumber=50).builds | `
23 Where-Object pullRequestId -eq $env:APPVEYOR_PULL_REQUEST_NUMBER)[0].buildNumber) { `
24 throw "There are newer queued builds for this pull request, failing early." }
25 # Download most recent Julia Windows binary
26 - ps: (new-object net.webclient).DownloadFile(
27 $env:JULIA_URL,
28 "C:\projects\julia-binary.exe")
29 # Run installer silently, output to C:\projects\julia
30 - C:\projects\julia-binary.exe /S /D=C:\projects\julia
31
32 build_script:
33 # Need to convert from shallow to complete for Pkg.clone to work
34 - IF EXIST .git\shallow (git fetch --unshallow)
35 - C:\projects\julia\bin\julia -e "import Pkg; Pkg.clone(pwd(), \"Granular\"); Pkg.build(\"Granular\")"
36
37 test_script:
38 - C:\projects\julia\bin\julia -e "import Pkg; Pkg.test(\"Granular\")"