Don't need to move and remove files before caching build data in Travis

This commit is contained in:
Dale Hui 2018-11-08 02:58:40 -08:00
parent addb3c1a79
commit 83f5b9f644
1 changed files with 0 additions and 5 deletions

View File

@ -22,10 +22,6 @@ env:
services:
- docker
before_cache:
- mv $GOPATH/src/github.com/golang-migrate /tmp/golang-migrate
- rm -rf $GOPATH/pkg/**/github.com/golang-migrate
cache:
directories:
- $GOPATH/pkg
@ -45,7 +41,6 @@ script:
- make test COVERAGE_DIR=/tmp/coverage
after_success:
- mv /tmp/golang-migrate $GOPATH/src/github.com/golang-migrate
- goveralls -service=travis-ci -coverprofile /tmp/coverage/combined.txt
- make list-external-deps > dependency_tree.txt && cat dependency_tree.txt