summaryrefslogtreecommitdiff
path: root/.gitlab-ci.yml
diff options
context:
space:
mode:
authorRémy Coutable <remy@rymai.me>2018-07-16 08:55:52 +0000
committerRémy Coutable <remy@rymai.me>2018-07-16 08:55:52 +0000
commit62563a393fb9402b441666b5b047cbd3c80bcc6b (patch)
tree648fc7a28af28c0b7265fd63c34e5c8b21ccf258 /.gitlab-ci.yml
parent86456af1c41f52f662659b3c84229464e07b208e (diff)
parentd3dcc9d428d21702b167deb9da753b1227737ef0 (diff)
downloadgitlab-ce-62563a393fb9402b441666b5b047cbd3c80bcc6b.tar.gz
Merge branch 'jprovazn-rails-ci' into 'master'
Trigger rails5 tests if variable is set See merge request gitlab-org/gitlab-ce!20609
Diffstat (limited to '.gitlab-ci.yml')
-rw-r--r--.gitlab-ci.yml4
1 files changed, 3 insertions, 1 deletions
diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml
index 9f6592b6278..e1b58379063 100644
--- a/.gitlab-ci.yml
+++ b/.gitlab-ci.yml
@@ -86,7 +86,9 @@ stages:
.rails5: &rails5
allow_failure: true
only:
- - /rails5/
+ variables:
+ - $CI_COMMIT_REF_NAME =~ /rails5/
+ - $RAILS5_ENABLED
variables:
BUNDLE_GEMFILE: "Gemfile.rails5"
RAILS5: "true"