summaryrefslogtreecommitdiff
path: root/.gitlab-ci.yml
diff options
context:
space:
mode:
Diffstat (limited to '.gitlab-ci.yml')
-rw-r--r--.gitlab-ci.yml22
1 files changed, 22 insertions, 0 deletions
diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml
new file mode 100644
index 00000000..96f5d99a
--- /dev/null
+++ b/.gitlab-ci.yml
@@ -0,0 +1,22 @@
+image: samthursfield/buildstream:0.1-20170627.1
+
+before_script:
+ # Update to latest BuildStream commit
+ - cd ~/buildstream
+ - git remote update origin
+ - git reset --hard origin/master
+ - pip3 install .
+ - cd -
+
+ # Work around https://github.com/fedora-cloud/docker-brew-fedora/issues/14
+ - export LANG="C.UTF-8"
+ - export LC_ALL="C.UTF-8"
+
+# We are limited to simple CI unless we provide our own GitLab CI runners.
+stages:
+ - validate
+
+validate:
+ stage: validate
+ script:
+ - bst --colors show gnu-toolchain.bst