25 lines
619 B
YAML
25 lines
619 B
YAML
## Copyright 2014 Alvaro J. Genial. All rights reserved.
|
|
## Use of this source code is governed by a BSD-style
|
|
## license that can be found in the LICENSE file.
|
|
|
|
language: go
|
|
|
|
go:
|
|
- tip
|
|
- 1.3
|
|
# - 1.2
|
|
# Note: 1.2 is disabled because it seems to require that cover
|
|
# be installed from code.google.com/p/go.tools/cmd/cover
|
|
|
|
before_install:
|
|
- go get -v golang.org/x/tools/cmd/cover
|
|
- go get -v golang.org/x/tools/cmd/vet
|
|
- go get -v github.com/golang/lint/golint
|
|
- export PATH=$PATH:/home/travis/gopath/bin
|
|
|
|
script:
|
|
- go build -v ./...
|
|
- go test -v -cover ./...
|
|
- go vet ./...
|
|
- golint .
|