diff options
author | Tristan Maat <tristan.maat@codethink.com> | 2017-06-26 17:10:00 +0100 |
---|---|---|
committer | Tristan Maat <tristan.maat@codethink.com> | 2017-07-05 11:48:29 +0100 |
commit | c7158e4db79b87e70432c946224b9a7ce4944a18 (patch) | |
tree | dba0bcaf3e049983c406e70997744059ac5bb3ab /.gitlab-ci.yml | |
parent | f997084c22c2e1b744b03907ee850299ed3d90e5 (diff) | |
download | buildstream-c7158e4db79b87e70432c946224b9a7ce4944a18.tar.gz |
.gitlab-ci.yml: Add integration tests
Diffstat (limited to '.gitlab-ci.yml')
-rw-r--r-- | .gitlab-ci.yml | 31 |
1 files changed, 19 insertions, 12 deletions
diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml index e68b76521..f8c375b0f 100644 --- a/.gitlab-ci.yml +++ b/.gitlab-ci.yml @@ -1,18 +1,16 @@ -# Install some requirements for BuildStream +image: samthursfield/buildstream:0.1-20170621.1 + before_script: -- echo "deb http://ftp.uk.debian.org/debian/ testing main" >> /etc/apt/sources.list -- apt-get update --fix-missing -qq -- apt-get install -y -qq bubblewrap -- apt-get install -y -qq python3.5 -- apt-get install -y -qq python3-pip -- apt-get install -y -qq bzr -- apt-get install --force-yes -qq ostree gir1.2-ostree-1.0 python3-dev python3-gi + # Diagnostics + - mount + - df -h -# Debian version is behind/not compatible with latest sphinx -- apt-get remove python-requests -- pip3 install --upgrade pip -- pip3 install --upgrade requests + # Work around https://github.com/fedora-cloud/docker-brew-fedora/issues/14 + - export LANG="C.UTF-8" + - export LC_ALL="C.UTF-8" + # Store cache in the shared Docker volume + - export XDG_CACHE_HOME=/cache # Run premerge commits # @@ -20,6 +18,15 @@ tests: script: - python3 setup.py test +# Run integration tests +# +integration_tests: + script: + - dnf install -y findutils bzr + - pip3 install --upgrade . + - git clone https://gitlab.com/BuildStream/buildstream-tests.git + - cd buildstream-tests + - ./run-test.sh test # Automatically build documentation, only for merges which land # on master branch. |