igcfs/go-igc

View on GitHub
.travis.yml

Summary

Maintainability
Test Coverage
language: go
go:
        - tip
sudo: false
env:
        - BUILDFLAVOR=goveralls
        - BUILDFLAVOR=pprof
        - BUILDFLAVOR=bench

before_install:
        - go get -v github.com/golang/lint/golint
        - go get github.com/mattn/goveralls
        - go get github.com/axw/gocov/gocov
        - go get golang.org/x/tools/cmd/cover

before_script:
  - curl -L https://codeclimate.com/downloads/test-reporter/test-reporter-latest-linux-amd64 > ./cc-test-reporter
  - chmod +x ./cc-test-reporter
  - ./cc-test-reporter before-build

script:
        - ./build/${BUILDFLAVOR}.sh

after_script:
  - ./cc-test-reporter after-build --coverage-input-type gocov --exit-code $TRAVIS_TEST_RESULT