archiso/.gitlab-ci.yml
nl6720 ecd339278d
Add check target to Makefile
Makefile:
Move shellcheck commands from .gitlab-ci.yml.

.gitlab-ci.yml:
Run `make check`.
Prevent partial upgrades, i.e. use '-Syu'.
Prevent reinstalling already installed packages by using pacman's '--needed' option.
Don't force-download the package database.
2020-07-17 10:42:14 +03:00

11 lines
165 B
YAML

---
default:
image: archlinux/base
before_script:
- pacman --noconfirm -Syu --needed base-devel shellcheck
lint:
stage: build
script:
- make check