language: go
sudo: false

matrix:
  include:
    - go: 1.5
    - go: 1.6
    - go: 1.7

branches:
  only:
    - v1

before_install:
  - go get golang.org/x/tools/cmd/cover

install:
  - make generate

script:
  - GO15VENDOREXPERIMENT=1 go test -v -coverprofile=coverage.txt -covermode=atomic

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

language: go
sudo: false

matrix:
  include:
    - go: 1.5
    - go: 1.6
    - go: 1.7

branches:
  only:
    - v1

before_install:
  - go get golang.org/x/tools/cmd/cover
  - go get github.com/golang/mock/mockgen

install:
  - make generate

script:
  - GO15VENDOREXPERIMENT=1 go test -v -coverprofile=coverage.txt -covermode=atomic

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

Install mockgen before running make generate
Install mockgen before running make generate

Signed-off-by: Stephan Peijnik <6ff875d5fb2cf957858f4aac3650c8acf54e0adf@anexia-it.com>
