diff options
author | Pedro Alvarez Piedehierro <palvarez89@gmail.com> | 2017-07-13 19:45:16 +0000 |
---|---|---|
committer | Pedro Alvarez Piedehierro <palvarez89@gmail.com> | 2017-07-13 19:45:16 +0000 |
commit | 82907f62c46438c4cac87d53ad39bd6477261c70 (patch) | |
tree | 56f131a9e852a9d93dfc783e4e31d6b254fe92ec | |
parent | dd9f0de2bc8aadb57f20ce998fcdefbda91f59b6 (diff) | |
parent | 4f932750dd0c72d47295795bb8d405fc90be5ab0 (diff) | |
download | lorry-1-gcc-tarball-lorry-is-somehow-failing.tar.gz |
Merge branch 'pedro/enable-ci' into 'master'1-gcc-tarball-lorry-is-somehow-failing
Setup CI job with .gitlab-ci.yml
See merge request !1
-rw-r--r-- | .gitlab-ci.yml | 20 |
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 |