Skip to content

Commit

Permalink
Use dep for CI dependencies
Browse files Browse the repository at this point in the history
  • Loading branch information
timdp committed Apr 28, 2018
1 parent 13f267c commit 67ac45e
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions .circleci/config.yml
Original file line number Diff line number Diff line change
Expand Up @@ -14,13 +14,13 @@ jobs:
- v1-pkg-cache-{{ checksum "Gopkg.lock" }}
- run: curl https://raw.githubusercontent.com/golang/dep/master/install.sh | sh
- run: dep ensure
- run: go get github.com/jstemmer/go-junit-report
- run: go get github.com/mattn/goveralls
- run: dep ensure -add github.com/jstemmer/go-junit-report github.com/mattn/goveralls
- run: |
trap "go-junit-report < $TEST_RESULTS/go-test.out > $TEST_RESULTS/go-test-report.xml" EXIT
go test -v -cover -race -coverprofile=$TEST_RESULTS/coverage.out ./... | tee $TEST_RESULTS/go-test.out
- run: goveralls -coverprofile=$TEST_RESULTS/coverage.out -service=circle-ci -repotoken=$COVERALLS_TOKEN
- run: make test_integration
- run: git checkout Gopkg.lock
- save_cache:
key: v1-pkg-cache-{{ checksum "Gopkg.lock" }}
paths:
Expand Down

0 comments on commit 67ac45e

Please sign in to comment.