mtfosbot/vendor/github.com/go-irc/irc/.travis.yml
2018-11-16 11:10:19 +08:00

22 lines
614 B
YAML

language: go
before_install:
- go get github.com/axw/gocov/gocov
- go get github.com/mattn/goveralls
- go get golang.org/x/tools/cmd/cover
# Grab all deps (should just be test deps)
- go get -v -t ./...
# Linting deps
- go get github.com/alecthomas/gometalinter
- gometalinter --install
# Remove the go file from the test cases dir as it fails linting
- rm ./testcases/*.go
script:
- gometalinter --fast ./... -D gas
- go test -race -v ./...
- go test -covermode=count -coverprofile=profile.cov
after_script:
- $HOME/gopath/bin/goveralls -coverprofile=profile.cov -service=travis-ci