Added linting to .gitlab-ci.yml
This commit is contained in:
parent
7cbcef3936
commit
cb062f0b7d
@ -1,13 +1,22 @@
|
||||
variables:
|
||||
GIT_SUBMODULE_STRATEGY: recursive
|
||||
|
||||
image:
|
||||
lint:
|
||||
image:
|
||||
name: docker/compose:1.24.1
|
||||
entrypoint:
|
||||
- /bin/sh
|
||||
- "-c"
|
||||
script:
|
||||
- docker-compose run xo-js-lint
|
||||
- docker-compose run xo-html-lint
|
||||
- docker-compose run sass-lint
|
||||
build:
|
||||
image:
|
||||
name: klakegg/hugo:0.55.6-ext-alpine
|
||||
entrypoint:
|
||||
- /bin/sh
|
||||
- "-c"
|
||||
|
||||
build:
|
||||
script:
|
||||
- hugo --minify
|
||||
artifacts:
|
||||
@ -18,6 +27,11 @@ build:
|
||||
- master
|
||||
|
||||
test:
|
||||
image:
|
||||
name: klakegg/hugo:0.55.6-ext-alpine
|
||||
entrypoint:
|
||||
- /bin/sh
|
||||
- "-c"
|
||||
script:
|
||||
- hugo_output=$(hugo --path-warnings --i18n-warnings)
|
||||
- echo "$hugo_output"
|
||||
|
||||
Loading…
Reference in New Issue
Block a user