From 8d9d0b900174909d0cb34b5c1bd1fe24c40cafeb Mon Sep 17 00:00:00 2001 From: Oliver Gugger Date: Wed, 24 Mar 2021 13:47:22 +0100 Subject: [PATCH] Travis: use make commands instead of goclean.sh Now that we have a Makefile with all tasks previously executed in goclean.sh, we no longer need to use that file. --- .gitignore | 1 + .travis.yml | 9 +++++---- 2 files changed, 6 insertions(+), 4 deletions(-) diff --git a/.gitignore b/.gitignore index a5c7e6b..e383d01 100644 --- a/.gitignore +++ b/.gitignore @@ -1,3 +1,4 @@ btcwallet vendor .idea +coverage.txt diff --git a/.travis.yml b/.travis.yml index 3c204e3..ff1946b 100644 --- a/.travis.yml +++ b/.travis.yml @@ -4,10 +4,11 @@ go: sudo: false install: - GO111MODULE=on go install -v ./... - - GO111MODULE=off go get -v golang.org/x/tools/cmd/cover - - GO111MODULE=off go get -v golang.org/x/lint/golint - - GO111MODULE=off go get -v github.com/davecgh/go-spew/spew script: - export PATH=$PATH:$HOME/gopath/bin - export GO111MODULE=on - - ./goclean.sh + - make fmt + - make lint + - make unit-race + - make unit-cover + - make goveralls