language: go

go:
  - 1.7
  - 1.8
  - 1.9
  - tip

sudo: false

install:
  - go get -t -d -v ./...
  - go get github.com/onsi/ginkgo/ginkgo
  - go get -u github.com/golang/lint/golint
  - go get -u github.com/modocache/gover
  - go get -u github.com/mattn/goveralls
    # optional dependencies
  - go get -u github.com/gin-gonic/gin
  - go get -u github.com/gorilla/mux
  - go get -u github.com/labstack/echo/...

script:
  - ginkgo -r -cover --randomizeAllSpecs --randomizeSuites --failOnPending --trace --race --progress
  - ginkgo -tags=gorillamux -r --randomizeSuites --failOnPending --trace --race
  - ginkgo -tags=gingonic -r --randomizeSuites --failOnPending --trace --race
  - ginkgo -tags=echo -r --randomizeSuites --failOnPending --trace --race
  - rm examples/examples.coverprofile
  - bash scripts/fmtpolice
  - gover
  - goveralls -coverprofile=gover.coverprofile -repotoken gY90SprlNRGmSMl7MgybLreYa05wUXJTU

notifications:
  webhooks:
    urls:
      - https://webhooks.gitter.im/e/9caacfa1bede5e900019
    on_success: change

language: go

go:
  - "1.8"
  - "1.9"
  - "1.10"
  - "tip"

sudo: false

install:
  - go get -t -d -v ./...
  - go get github.com/onsi/ginkgo/ginkgo
  - go get -u github.com/golang/lint/golint
  - go get -u github.com/modocache/gover
  - go get -u github.com/mattn/goveralls
    # optional dependencies
  - go get -u github.com/gin-gonic/gin
  - go get -u github.com/gorilla/mux
  - go get -u github.com/labstack/echo/...

script:
  - ginkgo -r -cover --randomizeAllSpecs --randomizeSuites --failOnPending --trace --race --progress
  - ginkgo -tags=gorillamux -r --randomizeSuites --failOnPending --trace --race
  - ginkgo -tags=gingonic -r --randomizeSuites --failOnPending --trace --race
  - ginkgo -tags=echo -r --randomizeSuites --failOnPending --trace --race
  - rm examples/examples.coverprofile
  - bash scripts/fmtpolice
  - gover
  - goveralls -coverprofile=gover.coverprofile -repotoken gY90SprlNRGmSMl7MgybLreYa05wUXJTU

notifications:
  webhooks:
    urls:
      - https://webhooks.gitter.im/e/9caacfa1bede5e900019
    on_success: change

Drop support for go 1.7 because of echo
Drop support for go 1.7 because of echo

Echo dropped the support for go 1.7 which leads us
to either drop support for echo, or go 1.7. :/
