Skip to content

Commit

Permalink
Merge pull request #43 from ivanilves/shell-test
Browse files Browse the repository at this point in the history
Add shell test
  • Loading branch information
ivanilves authored Sep 16, 2017
2 parents 4fac660 + c7a21cd commit ecd060d
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 1 deletion.
2 changes: 1 addition & 1 deletion .travis.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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:
Expand Down
4 changes: 4 additions & 0 deletions Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -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

Expand Down

0 comments on commit ecd060d

Please sign in to comment.