gitlab-ci: Drop '&&'; jobs fail on all script commands
Signed-off-by: Vasilis Tsiligiannis <acinonyx@openwrt.gr>
This commit is contained in:
parent
fa8780288f
commit
6f2159c1e3
|
@ -9,7 +9,8 @@ style:
|
||||||
image: ${GITLAB_CI_IMAGE_DEBIAN}
|
image: ${GITLAB_CI_IMAGE_DEBIAN}
|
||||||
stage: style
|
stage: style
|
||||||
before_script:
|
before_script:
|
||||||
- apt-get update -qq && apt-get install -y -qq astyle git
|
- apt-get update -qq
|
||||||
|
- apt-get install -qq -y astyle git
|
||||||
script:
|
script:
|
||||||
- if (test $(astyle --dry-run --options=.astylerc --formatted lib/*.cc | wc -l) -eq 0); then (exit 0); else (exit 1); fi
|
- if (test $(astyle --dry-run --options=.astylerc --formatted lib/*.cc | wc -l) -eq 0); then (exit 0); else (exit 1); fi
|
||||||
- if (test $(astyle --dry-run --options=.astylerc --formatted lib/*.h | wc -l) -eq 0); then (exit 0); else (exit 1); fi
|
- if (test $(astyle --dry-run --options=.astylerc --formatted lib/*.h | wc -l) -eq 0); then (exit 0); else (exit 1); fi
|
||||||
|
|
Loading…
Reference in New Issue