Fix linting test not exiting in case of error

This commit is contained in:
Jguer 2019-10-16 17:24:59 +01:00
parent 91232f2b74
commit 8151e47211
No known key found for this signature in database
GPG key ID: 6D6CC9BEA8556B35

4
testdata/ci/full.sh vendored
View file

@ -12,10 +12,10 @@ docker build --build-arg BUILD_ARCH=${ARCH} --target builder_env -t yay-builder_
docker build --build-arg BUILD_ARCH=${ARCH} --target builder -t yay-builder . || exit $?
# Our unit test and packaging container
docker run --rm --name yay-go-tests yay-builder_env:latest make test
docker run --rm --name yay-go-tests yay-builder_env:latest make test || exit $?
# Lint project
docker run --rm --name yay-go-lint yay-builder_env:latest make lint
docker run --rm --name yay-go-lint yay-builder_env:latest make lint || exit $?
# Build image for integration testing
# docker build -t yay . || exit $?