language: go

go:
  - 1.7
  - tip

matrix:
    allow_failures:
        - go: tip

env:
  - DBNAME=kallax_test
  - DBUSER=postgres
  - DBPASS=''

services:
  - postgresql

before_script:
  - psql -c 'create database kallax_test;' -U postgres

install:
  - go get -t -v .
  - go get -t -v ./generator/...

script:
  - make test

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

language: go

go:
  - 1.7
  - tip

matrix:
    allow_failures:
        - go: tip

env:
  - DBNAME=kallax_test DBUSER=postgres DBPASS=''

services:
  - postgresql

before_script:
  - psql -c 'create database kallax_test;' -U postgres

install:
  - go get -t -v .
  - go get -t -v ./generator/...

script:
  - make test

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

Put all env vars in one line to avoid build matrix
Put all env vars in one line to avoid build matrix
