mirror of
https://github.com/emojisum/emojisum.git
synced 2025-07-30 20:00:27 +00:00
main: vet, lint, and travis
Signed-off-by: Vincent Batts <vbatts@hashbangbash.com>
This commit is contained in:
parent
a70422cd0c
commit
0c995c4059
2 changed files with 25 additions and 2 deletions
20
.travis.yml
Normal file
20
.travis.yml
Normal file
|
@ -0,0 +1,20 @@
|
|||
language: go
|
||||
go:
|
||||
- 1.7.4
|
||||
- 1.6.3
|
||||
|
||||
sudo: false
|
||||
|
||||
before_install:
|
||||
- git config --global url."https://".insteadOf git://
|
||||
- go get -u github.com/golang/lint/golint
|
||||
- mkdir -p $GOPATH/src/github.com/vbatts && ln -sf $(pwd) $GOPATH/src/github.com/vbatts/emojisum
|
||||
- go get -d ./...
|
||||
|
||||
install: true
|
||||
|
||||
script:
|
||||
- go vet ./...
|
||||
- golint -set_exit_status ./...
|
||||
- go test -v ./...
|
||||
- go build .
|
Loading…
Add table
Add a link
Reference in a new issue