language: go
go:
  - 1.11.5
sudo: false
before_install:
  - mkdir -p $HOME/zk/contrib/fatjar
  - curl -LO http://cl.ly/3j1T2C3S0q2M/download/zookeeper-3.4.6-fatjar.jar
  - mv zookeeper-3.4.6-fatjar.jar $HOME/zk/contrib/fatjar
  - export ZOOKEEPER_PATH=$HOME/zk
  - go get github.com/axw/gocov/gocov
  - go get github.com/mattn/goveralls
  - go get golang.org/x/tools/cmd/cover
script:
  - ./test-coverage.sh -service=travis-ci

language: go
go:
  - 1.11.5
env:
  - GO111MODULE=on

before_install:
  - mkdir -p $HOME/zk/contrib/fatjar
  - curl -LO http://cl.ly/3j1T2C3S0q2M/download/zookeeper-3.4.6-fatjar.jar
  - mv zookeeper-3.4.6-fatjar.jar $HOME/zk/contrib/fatjar
  - export ZOOKEEPER_PATH=$HOME/zk
  - go get github.com/axw/gocov/gocov
  - go get github.com/mattn/goveralls
  - go get golang.org/x/tools/cmd/cover

install: true
sudo: false
script:
  - ./test-coverage.sh -service=travis-ci

Update for `go mod` support
Update for `go mod` support

See: https://arslan.io/2018/08/26/using-go-modules-with-vendor-support-on-travis-ci/
