summaryrefslogtreecommitdiff
path: root/.gitlab-ci.yml
diff options
context:
space:
mode:
authorMike Greiling <mike@pixelcog.com>2017-02-14 00:14:28 -0600
committerMike Greiling <mike@pixelcog.com>2017-02-14 00:49:30 -0600
commit215fadbcc86c3aac68569fee47e8d205dd250d7a (patch)
treebfdd06bf51cd416739471d64978f897eb53f2ce8 /.gitlab-ci.yml
parentdb6a29bcf5e938da53085535210e3982d8af17e2 (diff)
downloadgitlab-ce-215fadbcc86c3aac68569fee47e8d205dd250d7a.tar.gz
fix eslint builds within .gitlab-ci.yml
Diffstat (limited to '.gitlab-ci.yml')
-rw-r--r--.gitlab-ci.yml4
1 files changed, 2 insertions, 2 deletions
diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml
index b2622ac7e0f..7d0c976d816 100644
--- a/.gitlab-ci.yml
+++ b/.gitlab-ci.yml
@@ -327,7 +327,7 @@ lint:javascript:
paths:
- node_modules/
stage: test
- image: "node:7.1"
+ before_script: []
script:
- yarn run eslint
@@ -337,7 +337,7 @@ lint:javascript:report:
paths:
- node_modules/
stage: post-test
- image: "node:7.1"
+ before_script: []
script:
- find app/ spec/ -name '*.js' -or -name '*.js.es6' -exec sed --in-place 's|/\* eslint-disable .*\*/||' {} \; # run report over all files
- yarn run eslint-report || true # ignore exit code