File: .travis.yml

package info (click to toggle)
golang-github-pelletier-go-toml 1.4.0%2Breally1.2.0-1
  • links: PTS, VCS
  • area: main
  • in suites: buster, buster-backports, experimental
  • size: 432 kB
  • sloc: sh: 96; makefile: 3
file content (23 lines) | stat: -rw-r--r-- 612 bytes parent folder | download | duplicates (4)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
sudo: false
language: go
go:
  - 1.8.x
  - 1.9.x
  - 1.10.x
  - 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