ots/vendor/github.com/pelletier/go-toml/.travis.yml
Knut Ahlers c83bd95be8
Fix: Vendor missing libraries
Signed-off-by: Knut Ahlers <knut@ahlers.me>
2017-08-04 21:18:39 +02:00

24 lines
611 B
YAML

sudo: false
language: go
go:
- 1.6.4
- 1.7.6
- 1.8.3
- tip
matrix:
allow_failures:
- go: tip
fast_finish: true
script:
- if [ -n "$(go fmt ./...)" ]; then exit 1; fi
- ./test.sh
- ./benchmark.sh $TRAVIS_BRANCH https://github.com/$TRAVIS_REPO_SLUG.git
before_install:
- go get github.com/axw/gocov/gocov
- go get github.com/mattn/goveralls
- if ! go get code.google.com/p/go.tools/cmd/cover; then go get golang.org/x/tools/cmd/cover; fi
branches:
only: [master]
after_success:
- $HOME/gopath/bin/goveralls -service=travis-ci -coverprofile=coverage.out -repotoken $COVERALLS_TOKEN