language: go

sudo: false

install:
  - source .default.env
  - go get ./...
  - go get github.com/golang/lint/golint
  - go get github.com/kisielk/errcheck
  - go get github.com/joho/godotenv
  - go get -u golang.org/x/tools/cmd/cover
  - go get -u github.com/modocache/gover
  - go get -u github.com/mattn/goveralls

stages:
  - verification
  - test

jobs:
  include:
    - stage: verification
      go: 1.9
      script: make verification

    - stage: test
      go: 1.9
      script:
        - make test
        - gover
        - goveralls -service=travis-ci -coverprofile=gover.coverprofile -repotoken $COVERALLS_TOKEN

    - stage: test
      go: 1.8
      script: make test

language: go

sudo: false

install:
  - source .default.env
  - go get ./...
  - go get github.com/golang/lint/golint
  - go get github.com/kisielk/errcheck
  - go get github.com/joho/godotenv
  - go get -u golang.org/x/tools/cmd/cover
  - go get -u github.com/modocache/gover
  - go get -u github.com/mattn/goveralls

stages:
  - verification
  - test

go:
  - 1.11.x
  - 1.10.x
  - 1.9.x
  
jobs:
  include:
    - stage: verification
      go: 1.9
      script: make verification

    - stage: test
      go: 1.9
      script:
        - make test
        - gover
        - goveralls -service=travis-ci -coverprofile=gover.coverprofile -repotoken $COVERALLS_TOKEN

    - stage: test
      go: 1.8
      script: make test

Add Golang 1.10 and 1.11 to Travis test matrix
Add Golang 1.10 and 1.11 to Travis test matrix