check line-width of only newly added lines (#2522)

* strictly require <= 120 characters
This commit is contained in:
gabriel klawitter
2019-05-13 17:51:09 +02:00
committed by GitHub
parent 3b0eca992c
commit 7fb3dc5f68
2 changed files with 62 additions and 1 deletions
+13 -1
View File
@@ -52,6 +52,18 @@ check-runtime:
script:
- ./scripts/gitlab/check_runtime.sh
check-line-width:
stage: test
image: parity/tools:latest
<<: *kubernetes-build
only:
- /^[0-9]+$/
script:
- ./scripts/gitlab/check_line_width.sh
allow_failure: false
test-linux-stable: &test
stage: test
variables:
@@ -81,7 +93,7 @@ test-linux-stable: &test
check-web-wasm:
stage: test
image: tomaka/cargo-web:latest
allow_failure: true
allow_failure: true
only:
- master
- /^[0-9]+$/