sudo: false
group: edge

language: go

go:
  - 1.6
  - 1.7
  - tip

os:
  - linux
  - osx

before_install:
  - uname -a

script:
  - go test -v -cover ./...
  - go test -v -cover -race ./... -coverprofile=coverage.txt -covermode=atomic
  - go test -v -cover -race -benchmem -benchtime=5s -bench=.

matrix:
  allow_failures:
    - go: tip
 
after_success:
  - bash <(curl -s https://codecov.io/bash)
sudo: false
group: edge

language: go

go:
  - 1.6
  - 1.7
  - 1.8
  - tip

os:
  - linux
  - osx

before_install:
  - uname -a

script:
  - go test -v -cover ./...
  - go test -v -cover -race ./... -coverprofile=coverage.txt -covermode=atomic
  - go test -v -cover -race -benchmem -benchtime=5s -bench=.

matrix:
  allow_failures:
    - go: tip
 
after_success:
  - bash <(curl -s https://codecov.io/bash)

Add 1.8 to Travis config
Add 1.8 to Travis config