language: go
sudo: false
go:
  - 1.8
  - tip

before_install:
  - go get -u -t ./...
  - go get -u gopkg.in/alecthomas/gometalinter.v1
  - gometalinter.v1 --install

script:
  - gometalinter.v1 --config metalinter.json ./...
  - ./test.sh

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