Skip to content

Commit

Permalink
[Makefile][travis] refs fibercrypto#256 Added make install-coveralls
Browse files Browse the repository at this point in the history
  • Loading branch information
Maykel Arias Torres committed Nov 30, 2019
1 parent 7a90629 commit 026f05c
Show file tree
Hide file tree
Showing 2 changed files with 9 additions and 10 deletions.
15 changes: 5 additions & 10 deletions .travis.yml
Original file line number Diff line number Diff line change
Expand Up @@ -14,8 +14,7 @@ matrix:
- DEFAULT_ARCH=rpi2 make install-docker-deps
- DEFAULT_ARCH=rpi3 make install-docker-deps
- make install-deps-no-envs
- go get golang.org/x/tools/cmd/cover
- go get github.com/mattn/goveralls
- make install-coveralls
script:
- make clean
- DEFAULT_TARGET=rpi1 make build-docker
Expand All @@ -28,8 +27,7 @@ matrix:
install:
- DEFAULT_ARCH=android make install-docker-deps
- make install-deps-no-envs
- go get golang.org/x/tools/cmd/cover
- go get github.com/mattn/goveralls
- make install-coveralls
script:
- make clean
- DEFAULT_TARGET=android make build-docker
Expand All @@ -42,8 +40,7 @@ matrix:
- make install-docker-deps
- make install-deps-no-envs
- make install-linters
- go get golang.org/x/tools/cmd/cover
- go get github.com/mattn/goveralls
- make install-coveralls
script:
- make clean
- DEFAULT_TARGET=linux make build-docker
Expand All @@ -56,8 +53,7 @@ matrix:
- choco install make -y
- travis_wait make install-deps-Windows
- make install-linters
- go get golang.org/x/tools/cmd/cover
- go get github.com/mattn/goveralls
- make install-coveralls
script:
- make build
- make test
Expand All @@ -69,8 +65,7 @@ matrix:
osx_image: xcode10.2
install:
- make install-deps
- go get golang.org/x/tools/cmd/cover
- go get github.com/mattn/goveralls
- make install-coveralls
script:
- make clean
- make build
Expand Down
4 changes: 4 additions & 0 deletions Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -212,6 +212,10 @@ install-linters: ## Install linters
go get -u github.com/FiloSottile/vendorcheck
cat ./.travis/install-golangci-lint.sh | sh -s -- -b $(GOPATH)/bin v1.21.0

install-coveralls:
go get golang.org/x/tools/cmd/cover
go get github.com/mattn/goveralls

lint: ## Run linters. Use make install-linters first.
# src needs separate linting rules
golangci-lint run -c .golangci.yml ./src/coin/...
Expand Down

0 comments on commit 026f05c

Please sign in to comment.