From db9651a83918b8034b34db14df0e67d7fa124d3c Mon Sep 17 00:00:00 2001 From: beorn7 Date: Tue, 28 Aug 2018 15:13:08 +0200 Subject: [PATCH] Add test-short target and use it in CI This is reinstating the old behavior. The longer tests are not only long but also flaky. (The former is by design, the latter is a bug.) Signed-off-by: beorn7 --- .travis.yml | 2 +- Makefile | 3 +++ 2 files changed, 4 insertions(+), 1 deletion(-) diff --git a/.travis.yml b/.travis.yml index 711e0b3..e7076b3 100644 --- a/.travis.yml +++ b/.travis.yml @@ -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 diff --git a/Makefile b/Makefile index a050809..14d1857 100644 --- a/Makefile +++ b/Makefile @@ -20,3 +20,6 @@ get_dep: .PHONY: test test: get_dep common-test + +.PHONY: test-short +test-short: get_dep common-test-short