Skip to content

Commit

Permalink
Drop coveralls
Browse files Browse the repository at this point in the history
  • Loading branch information
twpayne committed Nov 28, 2019
1 parent 4d678ce commit 51ca763
Show file tree
Hide file tree
Showing 3 changed files with 0 additions and 16 deletions.
2 changes: 0 additions & 2 deletions .travis.yml
Expand Up @@ -27,10 +27,8 @@ script:
- git diff --exit-code
- make test
- make lint
- make coverage.out
- go run . --version
- GOOS=windows go build .
- if [ "$TRAVIS_PULL_REQUEST" = "false" ]; then goveralls -coverprofile=coverage.out -service=travis-ci -repotoken $COVERALLS_TOKEN; fi

sudo: false

Expand Down
13 changes: 0 additions & 13 deletions Makefile
Expand Up @@ -24,12 +24,6 @@ completions/chezmoi.fish:
completions/chezmoi.zsh:
mkdir -p $$(dirname $@) && go run . completion zsh > $@ || ( rm -f $@ ; false )

.PHONY: coverage.out
coverage.out:
go test -cover -covermode=count -coverprofile=cmd-coverage.out -coverpkg=github.com/twpayne/chezmoi/cmd,github.com/twpayne/chezmoi/internal/chezmoi ./cmd
go test -cover -covermode=count -coverprofile=internal-chezmoi-coverage.out ./internal/chezmoi
$$(go env GOPATH)/bin/gocovmerge cmd-coverage.out internal-chezmoi-coverage.out > $@ || ( rm -f $@ ; false )

.PHONY: format
format:
find . -name \*.go | xargs $$(go env GOPATH)/bin/gofumports -w
Expand All @@ -39,18 +33,11 @@ generate:
go generate ./...
$$(go env GOPATH)/bin/packr2

.PHONY: html-coverage
html-coverage:
go tool cover -html=coverage.out

.PHONY: install-tools
install-tools:
curl -sfL https://install.goreleaser.com/github.com/golangci/golangci-lint.sh | sh -s -- v1.21.0
GO111MODULE=off go get -u \
golang.org/x/tools/cmd/cover \
github.com/gobuffalo/packr/v2/packr2 \
github.com/mattn/goveralls \
github.com/wadey/gocovmerge \
mvdan.cc/gofumpt/gofumports

.PHONY: lint
Expand Down
1 change: 0 additions & 1 deletion README.md
Expand Up @@ -3,7 +3,6 @@
[![GitHub Release](https://img.shields.io/github/release/twpayne/chezmoi.svg)](https://github.com/twpayne/chezmoi/releases)
[![Build
Status](https://travis-ci.org/twpayne/chezmoi.svg?branch=master)](https://travis-ci.org/twpayne/chezmoi)
[![Coverage Status](https://coveralls.io/repos/github/twpayne/chezmoi/badge.svg)](https://coveralls.io/github/twpayne/chezmoi)

Manage your dotfiles across multiple machines, securely.

Expand Down

0 comments on commit 51ca763

Please sign in to comment.