language: go
sudo: false
go:
  - 1.5.4
  - 1.6.1
  - tip
os:
  - linux
  - osx
matrix:
  allow_failures:
    - go: tip
script:
  - make check
  - go build -race
  - ./hugo -s docs/
  - ./hugo --renderToMemory -s docs/
install:
  - go get github.com/stretchr/testify
  - go get -v ./...
