summaryrefslogtreecommitdiff
path: root/.gitlab-ci.yml
diff options
context:
space:
mode:
authorAndrew Leeming <andrew.leeming@codethink.co.uk>2016-12-08 17:02:11 +0000
committerAndrew Leeming <andrew.leeming@codethink.co.uk>2017-01-04 08:46:31 +0000
commit4e2cef35d3a39edaecae77c487f1aba516c30a50 (patch)
tree3be9633d43d26d870fc5d1a6ad4199eadb21202a /.gitlab-ci.yml
parentdfd6a6599b2b9886dca68de5300283fc3d78fb00 (diff)
downloadbuildstream-4e2cef35d3a39edaecae77c487f1aba516c30a50.tar.gz
Basic CI file to run tests and build documentation
Diffstat (limited to '.gitlab-ci.yml')
-rw-r--r--.gitlab-ci.yml25
1 files changed, 25 insertions, 0 deletions
diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml
new file mode 100644
index 000000000..6eb17b49c
--- /dev/null
+++ b/.gitlab-ci.yml
@@ -0,0 +1,25 @@
+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 --force-yes -qq ostree gir1.2-ostree-1.0 python3-dev python3-gi
+
+ # Debian version is behind/not compatible with latest sphinx
+ - apt-get remove python-requests
+ - pip3 install --upgrade pip
+ - pip3 install --upgrade requests
+
+
+tests:
+ script:
+ - python3 setup.py test
+
+
+
+doc-build:
+ script:
+ - pip3 install sphinx
+ - cd doc
+ - make \ No newline at end of file