language: go
sudo: false
go:
  - 1.11
  - 1.10.x
  - 1.9
  - 1.8

before_install:
  - go get -u -t ./...

script:
  - GO111MODULE=on ./test.sh

after_success:
  - bash <(curl -s https://codecov.io/bash)