Skip to content

Commit

Permalink
Add Codeclimate Support
Browse files Browse the repository at this point in the history
  • Loading branch information
zhutik committed Feb 22, 2019
1 parent 823b8f6 commit 0f517fd
Showing 1 changed file with 6 additions and 14 deletions.
20 changes: 6 additions & 14 deletions .travis.yml
Original file line number Diff line number Diff line change
Expand Up @@ -18,10 +18,6 @@ stages:

jobs:
include:
- stage: verification
go: "1.9"
script: make verification

- stage: verification
go: "1.10"
script: make verification
Expand All @@ -30,21 +26,17 @@ jobs:
go: "1.11"
script: make verification

- stage: test
go: "1.8"
script: make test

- stage: test
go: "1.9"
script: make test

- stage: test
go: "1.10"
script: make test

- stage: test
go: "1.11"
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:
- make test
- gover
- goveralls -service=travis-ci -coverprofile=gover.coverprofile -repotoken $COVERALLS_TOKEN
after_script:
- ./cc-test-reporter after-build --exit-code $TRAVIS_TEST_RESULT

0 comments on commit 0f517fd

Please sign in to comment.