forked from JuliaMath/SpecialFunctions.jl
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy path.drone.jsonnet
30 lines (29 loc) · 983 Bytes
/
.drone.jsonnet
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
local Pipeline(os, arch, version, alpine=false) = {
kind: "pipeline",
name: os+" - "+arch+" - Julia "+version+(if alpine then " (Alpine)" else ""),
platform: {
os: os,
arch: arch
},
steps: [
{
name: "Run tests",
image: "julia:"+version+(if alpine then "-alpine" else ""),
commands: [
"julia --project=. --check-bounds=yes --color=yes -e 'using InteractiveUtils; versioninfo(verbose=true)'",
"julia --project=. --check-bounds=yes --color=yes -e 'using Pkg; Pkg.build()'",
"julia --project=. --check-bounds=yes --color=yes -e 'using Pkg; Pkg.test(coverage=true)'"
]
}
],
trigger: {
branch: ["master"]
}
};
[
Pipeline("linux", "arm", "1.3.1"),
# Pipeline("linux", "arm", "1.6.1"),
Pipeline("linux", "arm64", "1.3"),
Pipeline("linux", "arm64", "1.6"),
Pipeline("linux", "amd64", "1.6", true)
]