2019-05-21 02:05:29 +02:00
|
|
|
local Pipeline(python_version, alpine_version) = {
|
|
|
|
kind: "pipeline",
|
|
|
|
steps: [
|
|
|
|
{
|
|
|
|
name: "build",
|
|
|
|
image: "python:" + python_version + "-alpine" + alpine_version,
|
|
|
|
pull: "always",
|
|
|
|
commands: [
|
|
|
|
"python -m pip install --upgrade pip==19.1.1",
|
|
|
|
"pip install tox==3.10.0",
|
|
|
|
"tox",
|
|
|
|
"apk add --no-cache borgbackup",
|
|
|
|
"tox -e end-to-end"
|
|
|
|
]
|
|
|
|
}
|
|
|
|
]
|
2019-05-21 02:18:30 +02:00
|
|
|
};
|
2018-10-13 22:09:12 +02:00
|
|
|
|
2019-05-21 02:05:29 +02:00
|
|
|
[
|
|
|
|
Pipeline("3.5", "3.9"),
|
|
|
|
Pipeline("3.6", "3.9"),
|
|
|
|
Pipeline("3.7", "3.9"),
|
2019-05-21 02:15:01 +02:00
|
|
|
Pipeline("3.7", "3.7")
|
2019-05-21 02:05:29 +02:00
|
|
|
]
|