summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorPedro Alvarez Piedehierro <palvarez89@gmail.com>2017-07-08 00:51:26 +0100
committerPedro Alvarez Piedehierro <palvarez89@gmail.com>2017-07-10 21:32:58 +0100
commit1271e4c7ca1bb63181175739d02be2ca344ee45d (patch)
tree510f69dd1d0f0c20fb21b00076b7d287c5c7fc06
parent776c36602d2bf38c18dfdadfa06247bcd7f53f40 (diff)
downloadlorry-controller-1271e4c7ca1bb63181175739d02be2ca344ee45d.tar.gz
Setup CI with .gitlab-ci.yml
-rw-r--r--.gitlab-ci.yml15
1 files changed, 15 insertions, 0 deletions
diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml
new file mode 100644
index 0000000..629ceaf
--- /dev/null
+++ b/.gitlab-ci.yml
@@ -0,0 +1,15 @@
+image: debian:stretch
+
+before_script:
+ - apt-get update -y
+ - apt-get install -y -qq python-dev python-pip
+ # Deps for running tests
+ - apt-get install -y -qq cmdtest curl git
+ # Deps for lorry-controller
+ - apt-get install -y -qq python-bottle python-flup python-requests
+ - pip install yoyo-migrations
+run-check:
+ script:
+ - env
+ - sh check
+