gnome-shell/.gitlab-ci.yml

19 lines
418 B
YAML
Raw Normal View History

stages:
- source_check
variables:
JS_LOG: "js-report.txt"
js_check:
image: registry.fedoraproject.org/fedora:latest
stage: source_check
before_script:
- dnf install -y findutils mozjs60-devel
script:
- find js -name '*.js' -exec js60 -c -s '{}' ';' 2>&1 | tee $JS_LOG
- (! grep -q . $JS_LOG)
artifacts:
paths:
- ${JS_LOG}
when: on_failure