From 4f932750dd0c72d47295795bb8d405fc90be5ab0 Mon Sep 17 00:00:00 2001 From: Pedro Alvarez Piedehierro Date: Thu, 13 Jul 2017 19:56:05 +0100 Subject: Setup CI job with .gitlab-ci.yml --- .gitlab-ci.yml | 20 ++++++++++++++++++++ 1 file changed, 20 insertions(+) create mode 100644 .gitlab-ci.yml 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 " + +run-check: + script: + - sh check -- cgit v1.2.1