diff --git a/.circleci/config.yml b/.circleci/config.yml index 0703040..0e1500f 100644 --- a/.circleci/config.yml +++ b/.circleci/config.yml @@ -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: dep ensure -add github.com/jstemmer/go-junit-report github.com/mattn/goveralls + - run: go get github.com/jstemmer/go-junit-report + - run: go get 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: