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