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:56:53 +0300
committerConnor Shea <connor.james.shea@gmail.com>2016-10-31 06:56:53 +0300
commit5b90923efdeec270f168372293ab9e34d0627410 (patch)
tree70c7be135840f13a4a7247fa42c6e5c19beaab65 /.gitlab-ci.yml
parentd423cb8a769f79618a7a5052ac3bfb84b86d13a9 (diff)
Add SCSS Linter, make it pass.
Diffstat (limited to '.gitlab-ci.yml')
-rw-r--r--.gitlab-ci.yml19
1 files changed, 15 insertions, 4 deletions
diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml
index c68bc3f5..bd220fa9 100644
--- a/.gitlab-ci.yml
+++ b/.gitlab-ci.yml
@@ -7,22 +7,33 @@ cache:
paths:
- vendor/ruby
+stages:
+ - test
+ - deploy
+
+before-script:
+ - bundle install --jobs 4 --path vendor
+
verify_compile:
+ stage: test
script:
- - bundle install --path vendor
- rake pull_repos
- nanoc
except:
- master
+scss_lint:
+ stage: test
+ script:
+ - bundle exec scss-lint
+
pages:
stage: deploy
environment:
name: production
script:
- - bundle install --path vendor
- - rake pull_repos
- - nanoc
+ - rake pull_repos
+ - nanoc
artifacts:
paths:
- public