summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorPedro Alvarez Piedehierro <palvarez89@gmail.com>2017-07-13 19:56:05 +0100
committerPedro Alvarez Piedehierro <palvarez89@gmail.com>2017-07-13 20:33:14 +0100
commit4f932750dd0c72d47295795bb8d405fc90be5ab0 (patch)
tree56f131a9e852a9d93dfc783e4e31d6b254fe92ec
parentdd9f0de2bc8aadb57f20ce998fcdefbda91f59b6 (diff)
downloadlorry-4f932750dd0c72d47295795bb8d405fc90be5ab0.tar.gz
Setup CI job with .gitlab-ci.ymlpedro/enable-ci
-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