summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--.gitlab-ci.yml20
1 files changed, 20 insertions, 0 deletions
diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml
new file mode 100644
index 0000000..2be9e7b
--- /dev/null
+++ b/.gitlab-ci.yml
@@ -0,0 +1,20 @@
+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
+
+# Deps to run lorry tests
+- apt-get install -y -qq git bzr cvs mercurial subversion hg-fast-export git-svn git-cvs bzr-fastimport
+
+# Configure git and bzr to run tests
+- git config --global user.email "jdoe@example.com"
+- git config --global user.name "Lorry Baserocker"
+- bzr whoami "Lorry Baserocker <jdoe@example.com>"
+
+run-check:
+ script:
+ - sh check