language: go
go:
  - 1.4.2
  - 1.5
  - tip
matrix:
  allow_failures:
    - go: tip
script:
  - go test ./...
  - go build
  - ./hugo -s docs/
install:
  - go get github.com/stretchr/testify
  - go get -v ./...

language: go
go:
  - 1.4.2
  - 1.5
  - tip
os:
  - linux
  - osx
matrix:
  allow_failures:
    - go: tip
script:
  - go test ./...
  - go build
  - ./hugo -s docs/
install:
  - go get github.com/stretchr/testify
  - go get -v ./...

Test builds on OS X
Test builds on OS X

Add an "os" target for OS X to test builds on Mac. No reason to believe it won't work, but always worth testing things.