.travis.yml 537 B

1234567891011121314151617181920212223242526
  1. language: go
  2. go:
  3. - 1.8
  4. - 1.9
  5. - tip
  6. env:
  7. global:
  8. - CC_TEST_REPORTER_ID=68feaa3410049ce73e145287acbcdacc525087a30627f96f04e579e75bd71c00
  9. before_script:
  10. - curl -L https://codeclimate.com/downloads/test-reporter/test-reporter-latest-linux-amd64 > ./cc-test-reporter
  11. - chmod +x ./cc-test-reporter
  12. - ./cc-test-reporter before-build
  13. install:
  14. - go get github.com/go-task/task/cmd/task
  15. script:
  16. - task dl-deps
  17. - task lint
  18. - task test-coverage
  19. after_script:
  20. - ./cc-test-reporter after-build --exit-code $TRAVIS_TEST_RESULT