OSDN Git Service

new repo
[bytom/vapor.git] / vendor / github.com / pelletier / go-toml / .travis.yml
1 sudo: false
2 language: go
3 go:
4   - 1.8.4
5   - 1.9.1
6   - tip
7 matrix:
8   allow_failures:
9     - go: tip
10   fast_finish: true
11 script:
12   - if [ -n "$(go fmt ./...)" ]; then exit 1; fi
13   - ./test.sh
14   - ./benchmark.sh $TRAVIS_BRANCH https://github.com/$TRAVIS_REPO_SLUG.git
15 before_install:
16   - go get github.com/axw/gocov/gocov
17   - go get github.com/mattn/goveralls
18   - if ! go get code.google.com/p/go.tools/cmd/cover; then go get golang.org/x/tools/cmd/cover; fi
19 branches:
20   only: [master]
21 after_success:
22   - $HOME/gopath/bin/goveralls -service=travis-ci -coverprofile=coverage.out -repotoken $COVERALLS_TOKEN