tappveyor.yml - Granular.jl - Julia package for granular dynamics simulation | |
git clone git://src.adamsgaard.dk/Granular.jl | |
Log | |
Files | |
Refs | |
README | |
LICENSE | |
--- | |
tappveyor.yml (1683B) | |
--- | |
1 environment: | |
2 matrix: | |
3 - JULIA_URL: "https://julialang-s3.julialang.org/bin/winnt/x64/1.0/jul… | |
4 - JULIA_URL: "https://julialang-s3.julialang.org/bin/winnt/x64/1.1/jul… | |
5 - JULIA_URL: "https://julialangnightlies-s3.julialang.org/bin/winnt/x6… | |
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.Ne… | |
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_N… | |
22 https://ci.appveyor.com/api/projects/$env:APPVEYOR_ACCOUNT_NAME/… | |
23 Where-Object pullRequestId -eq $env:APPVEYOR_PULL_REQUEST_NUMBER… | |
24 throw "There are newer queued builds for this pull request, fail… | |
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(), \"Granu… | |
36 | |
37 test_script: | |
38 - C:\projects\julia\bin\julia -e "import Pkg; Pkg.test(\"Granular\")" |