language: go

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

sudo: false

install:
  - go get -t -d -v ./...
  - go get github.com/onsi/ginkgo/ginkgo
  - go get -u golang.org/x/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"
  - "1.11"

sudo: false

install:
  - go get -t -d -v ./...
  - go get github.com/onsi/ginkgo/ginkgo
  - go get -u golang.org/x/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

Fix echo dependency and add go 1.11 build
Fix echo dependency and add go 1.11 build
