summaryrefslogtreecommitdiff
path: root/doc
diff options
context:
space:
mode:
Diffstat (limited to 'doc')
-rw-r--r--doc/ci/yaml/README.md14
1 files changed, 5 insertions, 9 deletions
diff --git a/doc/ci/yaml/README.md b/doc/ci/yaml/README.md
index fa8a083c7a8..c1ebe39e076 100644
--- a/doc/ci/yaml/README.md
+++ b/doc/ci/yaml/README.md
@@ -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: