25e43a5d08
After the last batch of indentation changes, the whole code base conforms to the new style now, so we can drop the legacy eslint configuration. https://gitlab.gnome.org/GNOME/gnome-shell-extensions/merge_requests/66
41 lines
850 B
YAML
41 lines
850 B
YAML
stages:
|
|
- commit_check
|
|
- source_check
|
|
- build
|
|
|
|
variables:
|
|
LINT_LOG: "eslint-report.txt"
|
|
|
|
.only_default: &only_default
|
|
only:
|
|
- branches
|
|
- tags
|
|
- merge_requests
|
|
|
|
check_commit_log:
|
|
image: registry.gitlab.gnome.org/gnome/gjs:fedora.static-analysis
|
|
stage: commit_check
|
|
script:
|
|
- ./.gitlab-ci/check-commit-log.sh
|
|
only:
|
|
- merge_requests
|
|
|
|
eslint:
|
|
image: registry.gitlab.gnome.org/gnome/gnome-shell/extension-ci:v1
|
|
stage: source_check
|
|
script:
|
|
- eslint -o $LINT_LOG --no-color || { cat $LINT_LOG; false; }
|
|
<<: *only_default
|
|
artifacts:
|
|
paths:
|
|
- ${LINT_LOG}
|
|
when: on_failure
|
|
|
|
build-shell-extensions:
|
|
image: registry.gitlab.gnome.org/gnome/gnome-shell/extension-ci:v1
|
|
stage: build
|
|
script:
|
|
- meson _build .
|
|
- ninja -C _build test install
|
|
<<: *only_default
|