File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -6,13 +6,12 @@ branches:
66 - master
77services :
88 - postgresql
9+ - docker
910sudo : required
1011addons :
1112 postgresql : " 9.4"
1213cache : pip
1314before_install :
14- - wget "http://ftp.debian.org/debian/pool/main/s/shellcheck/shellcheck_0.3.7-5_amd64.deb"
15- - sudo dpkg -i shellcheck_0.3.7-5_amd64.deb
1615 - createdb -U postgres deis
1716install :
1817 - pip install -r rootfs/requirements.txt
Original file line number Diff line number Diff line change @@ -6,6 +6,7 @@ SHORT_NAME ?= $(COMPONENT)
66
77include versioning.mk
88
9+ SHELLCHECK_PREFIX := docker run --rm -v ${CURDIR}:/workdir -w /workdir quay.io/deis/shell-dev shellcheck
910SHELL_SCRIPTS = $(wildcard rootfs/bin/* ) $(shell find "rootfs" -name '* .sh') $(wildcard _scripts/* .sh)
1011
1112# Test processes used in quick unit testing
@@ -60,7 +61,7 @@ test-check:
6061
6162test-style :
6263 cd rootfs && flake8 --show-pep8 --show-source
63- shellcheck $(SHELL_SCRIPTS )
64+ ${SHELLCHECK_PREFIX} $(SHELL_SCRIPTS )
6465
6566test-unit :
6667 cd rootfs \
You can’t perform that action at this time.
0 commit comments