dist: bionic
matrix:
  include:
    - language: go
      sudo: false
      go: "1.13"
      install:
        - export PATH=$PATH:$GOPATH/bin
      script:
        - make goinstall
        - make check >& /tmp/check.log
      after_failure:
        - grep -C 200 FAIL /tmp/check.log
        - tail -200 /tmp/check.log
      after_success:
        - tail -200 /tmp/check.log


dist: bionic
matrix:
  include:
    - language: go
      sudo: false
      go: "1.13"
      before_install:
        - go get github.com/mattn/goveralls
      install:
        - export PATH=$PATH:$GOPATH/bin
      script:
        - make goinstall
        - make check >& /tmp/check.log
        - $GOPATH/bin/goveralls -coverprofile=covprof-ipam,covprof-index,covprof-apicapi,covprof-hostagent,covprof-controller,covprof-gbpserver,covprof-keyvalueservice -service=travis-ci
      after_failure:
        - grep -C 200 FAIL /tmp/check.log
        - tail -200 /tmp/check.log
      after_success:
        - tail -200 /tmp/check.log


Add coveralls support to aci-containers
Add coveralls support to aci-containers

A separate coverage file is generated per component and
then merged together by goveralls before submitting.

Signed-off-by: Tom Flynn <abc7c57a6537c493534eb3847500f37bef7b716d@gmail.com>
