Welcome to mirror list, hosted at ThFree Co, Russian Federation.

gitlab.com/gitlab-org/gitlab-docs.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorConnor Shea <connor.james.shea@gmail.com>2016-10-31 06:23:01 +0300
committerConnor Shea <connor.james.shea@gmail.com>2016-10-31 06:23:01 +0300
commitd423cb8a769f79618a7a5052ac3bfb84b86d13a9 (patch)
tree26b24f313e4b68390255697bf41107b79f26448b /.gitlab-ci.yml
parent92bb93e5a62a52a3589a6961ddc8c71b8848180b (diff)
Add verify_compile step for CI to test that the site compiles. Only runs on non-master branches.
Diffstat (limited to '.gitlab-ci.yml')
-rw-r--r--.gitlab-ci.yml8
1 files changed, 8 insertions, 0 deletions
diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml
index bc511c42..c68bc3f5 100644
--- a/.gitlab-ci.yml
+++ b/.gitlab-ci.yml
@@ -7,6 +7,14 @@ cache:
paths:
- vendor/ruby
+verify_compile:
+ script:
+ - bundle install --path vendor
+ - rake pull_repos
+ - nanoc
+ except:
+ - master
+
pages:
stage: deploy
environment: