Trigger rails5 tests either by variable or ref name
This commit is contained in:
parent
fabf6a5634
commit
d3dcc9d428
|
@ -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"
|
||||
|
|
Loading…
Reference in New Issue