Move cc-test-reporter to local for now
This commit is contained in:
parent
62075f71e6
commit
514090d054
1 changed files with 4 additions and 4 deletions
|
@ -13,16 +13,16 @@ jobs:
|
|||
- run:
|
||||
name: Setup Code Climate test-reporter
|
||||
command: |
|
||||
curl -L https://codeclimate.com/downloads/test-reporter/test-reporter-latest-linux-amd64 > /bin/cc-test-reporter
|
||||
chmod +x /bin/cc-test-reporter
|
||||
curl -L https://codeclimate.com/downloads/test-reporter/test-reporter-latest-linux-amd64 > ./cc-test-reporter
|
||||
chmod +x ./cc-test-reporter
|
||||
- run: curl -L -s https://github.com/golang/dep/releases/download/v0.4.1/dep-linux-amd64 -o /go/bin/dep && chmod +x /go/bin/dep
|
||||
- run: dep ensure -vendor-only
|
||||
- run:
|
||||
name: Run tests
|
||||
command: |
|
||||
cc-test-reporter before-build
|
||||
./cc-test-reporter before-build
|
||||
go test -v -coverprofile=c.out ./...
|
||||
cc-test-reporter after-build --exit-code $?
|
||||
./cc-test-reporter after-build --exit-code $?
|
||||
|
||||
lint:
|
||||
<<: *defaults
|
||||
|
|
Loading…
Reference in a new issue