From 67ac45e8a1a751705f62ab903ee679ce1fc58d44 Mon Sep 17 00:00:00 2001 From: Tim De Pauw Date: Sat, 28 Apr 2018 11:53:52 +0200 Subject: [PATCH] Use dep for CI dependencies --- .circleci/config.yml | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/.circleci/config.yml b/.circleci/config.yml index 0e1500f..0703040 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: 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: