Rietveld Code Review Tool
Help | Bug tracker | Discussion group | Source code

Unified Diff: .gitlab-ci.yml

Issue 29903555: Noissue - extend jobs instead of using YAML anchors (Closed)
Patch Set: Created Oct. 6, 2018, 9:04 a.m.
Use n/p to move between diff chunks; N/P to move between comments.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « no previous file | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: .gitlab-ci.yml
diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml
index 5dc6dff4d92ff93faca9852f1d3742ae6d19e8eb..2c7a3fb2463a7563268e3d4f5aadd97a48806eca 100644
--- a/.gitlab-ci.yml
+++ b/.gitlab-ci.yml
@@ -30,7 +30,7 @@ stages:
- python ensure_dependencies.py
- "[ -d node_modules ] || npm install"
-.test_template: &test_template
+.test_template:
stage: test
before_script: *dependencies
cache:
@@ -50,16 +50,16 @@ prepare-dependencies:
policy: push
tests:gecko:
- <<: *test_template
+ extends: .test_template
script:
- npm run test-only -- -g gecko
tests:chrome:
- <<: *test_template
+ extends: .test_template
script:
- xvfb-run npm run test-only -- -g chrome
lint:
- <<: *test_template
+ extends: .test_template
script:
- npm run lint
« no previous file with comments | « no previous file | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld