Skip to content

Commit

Permalink
Allow Go tip to fail on TravisCI
Browse files Browse the repository at this point in the history
  • Loading branch information
muesli committed Aug 7, 2019
1 parent 83ebede commit 3cf7ac4
Showing 1 changed file with 16 additions and 13 deletions.
29 changes: 16 additions & 13 deletions .travis.yml
Expand Up @@ -18,27 +18,30 @@ go:
- tip

matrix:
exclude:
- os: osx
go: 1.2.x
- os: osx
go: 1.3.x
- os: osx
go: 1.4
- os: osx
go: 1.5.x
- os: osx
go: 1.6.x
allow_failures:
- go: tip

exclude:
- os: osx
go: 1.2.x
- os: osx
go: 1.3.x
- os: osx
go: 1.4
- os: osx
go: 1.5.x
- os: osx
go: 1.6.x

sudo: required
before_install:
- if [[ $TRAVIS_GO_VERSION == 1.9* ]]; then go get github.com/axw/gocov/gocov github.com/mattn/goveralls; fi
- if [[ $TRAVIS_GO_VERSION == 1.12* ]]; then go get github.com/axw/gocov/gocov github.com/mattn/goveralls; fi
- sudo apt-get update -qq
- sudo apt-get install -y cracklib-runtime

script:
- go test -v -tags ci ./...
- if [[ $TRAVIS_GO_VERSION == 1.9* ]]; then $GOPATH/bin/goveralls -service=travis-ci; fi
- if [[ $TRAVIS_GO_VERSION == 1.12* ]]; then $GOPATH/bin/goveralls -service=travis-ci; fi

notifications:
email:
Expand Down

0 comments on commit 3cf7ac4

Please sign in to comment.