This commit is contained in:
+23
@@ -0,0 +1,23 @@
|
||||
local Pipeline(name, image) = {
|
||||
kind: "pipeline",
|
||||
name: name,
|
||||
steps: [
|
||||
{
|
||||
name: "test",
|
||||
image: image,
|
||||
commands: [
|
||||
"apt-get install libpg",
|
||||
"pip install -r requirements.txt",
|
||||
"python manage.py migrate",
|
||||
"python manage.py test"
|
||||
]
|
||||
}
|
||||
]
|
||||
};
|
||||
|
||||
[
|
||||
Pipeline("python-2", "python:2"),
|
||||
Pipeline("python-3-6", "python:3.6"),
|
||||
Pipeline("python-3-8", "python:3.8"),
|
||||
Pipeline("python-3-9", "python:3.9"),
|
||||
]
|
||||
Reference in New Issue
Block a user