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 |