diff --git a/.circleci/config.yml b/.circleci/config.yml index 9f111162..af93f767 100644 --- a/.circleci/config.yml +++ b/.circleci/config.yml @@ -19,7 +19,9 @@ jobs: - run: go get -d -t -v ./... - - run: go build ./... + - run: go build -v ./... + + - run: go test -v ./... - save_cache: key: v1-pkg-cache diff --git a/cmd/revid-cli/profile.go b/cmd/revid-cli/profile.go index 33406a29..7b6874d5 100644 --- a/cmd/revid-cli/profile.go +++ b/cmd/revid-cli/profile.go @@ -1,3 +1,5 @@ +// +build profile + /* NAME revid-cli - command line interface for Revid. @@ -25,8 +27,6 @@ LICENSE along with revid in gpl.txt. If not, see http://www.gnu.org/licenses. */ -// +build profile - package main import _ "net/http/pprof"