From 3ec64f42c9b4c514e2fd76b7a2e8049a3392b27b Mon Sep 17 00:00:00 2001 From: gedi Date: Thu, 2 Jul 2015 16:42:56 +0300 Subject: [PATCH] run go tests only in root package --- .travis.yml | 4 ++-- Makefile | 2 +- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/.travis.yml b/.travis.yml index e30224d..6711356 100644 --- a/.travis.yml +++ b/.travis.yml @@ -17,8 +17,8 @@ script: - go get github.com/shiena/ansicolor # run standard go tests - - go test -v ./... - - go test -race ./... + - go test -v + - go test -race # run features - go run cmd/godog/main.go -f progress diff --git a/Makefile b/Makefile index 4b82dd4..54d88c6 100644 --- a/Makefile +++ b/Makefile @@ -5,7 +5,7 @@ test: @sh -c 'if [ ! -z "$(go fmt ./...)" ]; then exit 1; else echo "go fmt OK"; fi' @sh -c 'if [ ! -z "$(golint ./...)" ]; then exit 1; else echo "golint OK"; fi' go vet ./... - go test ./... + go test go run cmd/godog/main.go -f progress deps: