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-08 13:47:07 +0100
commit8adfcae6ce0c4b7db4ed8e9089de29ab30f8287a (patch)
treef526bef5c635d8cf9bd4221ea4490624e95fee55
parenta3a5d82b283d1d27af7865d5605e1804bdd8d9c0 (diff)
downloadlorry-controller-8adfcae6ce0c4b7db4ed8e9089de29ab30f8287a.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
+