Merge pull request #451 from prometheus/beorn7/ci

Add test-short target and use it in CI
This commit is contained in:
Björn Rabenstein 2018-08-28 22:48:07 +02:00 committed by GitHub
commit 676eaf6b94
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
2 changed files with 4 additions and 1 deletions

View File

@ -8,5 +8,5 @@ go:
- 1.10.x
script:
- make check_license style unused test
- make check_license style unused test-short
- if [[ ! $TRAVIS_GO_VERSION =~ ^1\.(7|8)\.[x0-9]+$ ]]; then make staticcheck; fi

View File

@ -20,3 +20,6 @@ get_dep:
.PHONY: test
test: get_dep common-test
.PHONY: test-short
test-short: get_dep common-test-short