Fix extended CI/CD configuration docs for `extends`

This commit is contained in:
Grzegorz Bizon 2018-09-05 14:55:27 +02:00
parent 2e73c248c9
commit e8648241e4
1 changed files with 5 additions and 9 deletions

View File

@ -90,7 +90,6 @@ more flexible and readable.
.tests:
only:
refs:
- master
- branches
rspec:
@ -113,7 +112,6 @@ rspec:
stage: test
only:
refs:
- master
- branches
variables:
- $RSPEC
@ -130,22 +128,20 @@ use more than three levels of inheritance. Maximum nesting level supported is
```yaml
.tests:
only:
refs:
- master
- branches
- pushes
.rspec:
extends: .tests
script: rake rspec
rspec 1:
variables
RSPEC_SUITE: 1
variables:
RSPEC_SUITE: '1'
extends: .rspec
rspec 2:
variables
RSPEC_SUITE: 2
variables:
RSPEC_SUITE: '2'
extends: .rspec
spinach: