Commit d3dcc9d4 authored by Jan Provaznik's avatar Jan Provaznik
Browse files

Trigger rails5 tests either by variable or ref name

parent fabf6a56
...@@ -86,7 +86,9 @@ stages: ...@@ -86,7 +86,9 @@ stages:
.rails5: &rails5 .rails5: &rails5
allow_failure: true allow_failure: true
only: only:
- /rails5/ variables:
- $CI_COMMIT_REF_NAME =~ /rails5/
variables: variables:
BUNDLE_GEMFILE: "Gemfile.rails5" BUNDLE_GEMFILE: "Gemfile.rails5"
RAILS5: "true" RAILS5: "true"
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment