diff --git a/.travis.yml b/.travis.yml index 79181fe..58b3563 100644 --- a/.travis.yml +++ b/.travis.yml @@ -16,9 +16,9 @@ script: - make unit-test - make package-test - make integration-test + - make shell-test - make lint - make vet - - make build branches: only: diff --git a/Makefile b/Makefile index 20dc42e..2ebb9dc 100644 --- a/Makefile +++ b/Makefile @@ -22,6 +22,10 @@ package-test: integration-test: go test -integration -v +shell-test: build + ./lstags alpine | egrep "\salpine:latest" + ./lstags nobody/nothing &>/dev/null && exit 1 || true + lint: ERRORS:=$(shell find . -name "*.go" ! -path "./vendor/*" | xargs -i golint {}) lint: fail-on-errors