Skip to content
This repository has been archived by the owner on Apr 10, 2019. It is now read-only.

Commit

Permalink
Also add goreleaser install script (see #418).
Browse files Browse the repository at this point in the history
README will be updated once the script is verified as working widely.
  • Loading branch information
alecthomas committed May 8, 2018
1 parent dcb9b10 commit 2693cbe
Show file tree
Hide file tree
Showing 6 changed files with 397 additions and 129 deletions.
2 changes: 1 addition & 1 deletion .goreleaser.yml
Expand Up @@ -185,7 +185,7 @@ archive:
name_template: '{{ .Binary }}-{{ .Version }}-{{ .Os }}-{{ .Arch }}{{ if .Arm }}v{{ .Arm }}{{ end }}'
files:
- COPYING
- README*
- README.md

snapshot:
name_template: SNAPSHOT-{{ .Commit }}
Expand Down
1 change: 0 additions & 1 deletion .travis.yml
Expand Up @@ -4,7 +4,6 @@ install:
- go get -t -v . ./regressiontests
- gometalinter --install
go:
- 1.8.x
- 1.9.x
- 1.10.x
script: go test -v . ./regressiontests
Expand Down
8 changes: 8 additions & 0 deletions README.md
Expand Up @@ -17,6 +17,7 @@
- [What's the best way to use `gometalinter` in CI?](#whats-the-best-way-to-use-gometalinter-in-ci)
- [How do I make `gometalinter` work with Go 1.5 vendoring?](#how-do-i-make-gometalinter-work-with-go-15-vendoring)
- [Why does `gometalinter --install` install a fork of gocyclo?](#why-does-gometalinter---install-install-a-fork-of-gocyclo)
- [Many unexpected errors are being reported](#many-unexpected-errors-are-being-reported)
- [Gometalinter is not working](#gometalinter-is-not-working)
- [1. Update to the latest build of gometalinter and all linters](#1-update-to-the-latest-build-of-gometalinter-and-all-linters)
- [2. Analyse the debug output](#2-analyse-the-debug-output)
Expand Down Expand Up @@ -315,6 +316,13 @@ unusably slow when vendoring. The recursive behaviour can be achieved with
gometalinter by explicitly specifying `<path>/...`. There is a
[pull request](https://github.com/fzipp/gocyclo/pull/1) open.

### Many unexpected errors are being reported

If you see a whole bunch of errors being reported that you wouldn't expect,
such as compile errors, this typically means that something is wrong with your
Go environment. Try `go install` and fix any issues with your go installation,
then try gometalinter again.

### Gometalinter is not working

That's more of a statement than a question, but okay.
Expand Down

0 comments on commit 2693cbe

Please sign in to comment.