dist: trusty

language: go

addons:
  postgresql: "9.6"

go:
  - 1.7
  - 1.8
  - tip

matrix:
  allow_failures:
    - go: tip

before_install:
  - psql -U postgres -c "CREATE EXTENSION hstore"

install:
  - go get github.com/jinzhu/inflection
  - go get gopkg.in/check.v1
  - go get github.com/onsi/ginkgo
  - go get github.com/onsi/gomega
