1image: ubuntu:16.04 2 3before_script: 4 - apt-get --quiet update --yes >/dev/null 5 - apt-get --quiet install --yes clang-format-5.0 git >/dev/null 6 7stages: 8 - style 9 10checkstyle: 11 stage: style 12 script: "./.gitlab-ci-checkcommit.sh" 13 artifacts: 14 when: on_failure 15 untracked: true 16