added .scompo-ci.json for testing purposes
authorMauro Scomparin <scompo@gmail.com>
Thu, 17 Jan 2019 17:54:24 +0000 (18:54 +0100)
committerMauro Scomparin <scompo@gmail.com>
Thu, 17 Jan 2019 17:54:24 +0000 (18:54 +0100)
.scompo-ci.json [new file with mode: 0644]

diff --git a/.scompo-ci.json b/.scompo-ci.json
new file mode 100644 (file)
index 0000000..fe610d8
--- /dev/null
@@ -0,0 +1,24 @@
+{
+  "image": "scompo-ci-base",
+  "steps": [{
+      "name": "clone",
+      "commands": [
+        "git clone http://code.scompo.it:3000/scompo/money.git .",
+        "git checkout $COMMIT"
+      ]
+    },
+    {
+      "name": "install python",
+      "commands": [
+        "apt install -y python3",
+        "python3 --version"
+      ]
+    },
+    {
+      "name": "test",
+      "commands": [
+        "python3 -m unittest -v"
+      ]
+    }
+  ]
+}