diff options
author | Taylor Gerring <taylor.gerring@gmail.com> | 2015-02-06 07:49:44 +0800 |
---|---|---|
committer | Taylor Gerring <taylor.gerring@gmail.com> | 2015-02-06 07:49:44 +0800 |
commit | 5e0b2b260c9e6fb27826ca16e9d49f370df56b78 (patch) | |
tree | 156e47499a0be52ade923225c22d8ed09d41de8b | |
parent | b58b6b9bac156035d416b5c837b49baa769b2db3 (diff) | |
download | dexon-5e0b2b260c9e6fb27826ca16e9d49f370df56b78.tar.gz dexon-5e0b2b260c9e6fb27826ca16e9d49f370df56b78.tar.zst dexon-5e0b2b260c9e6fb27826ca16e9d49f370df56b78.zip |
Updated go list command
-rw-r--r-- | .travis.yml | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/.travis.yml b/.travis.yml index f51f2cfbd..e8716ee68 100644 --- a/.travis.yml +++ b/.travis.yml @@ -11,7 +11,7 @@ install: # - go get golang.org/x/tools/cmd/vet - if ! go get code.google.com/p/go.tools/cmd/cover; then go get golang.org/x/tools/cmd/cover; fi - go get github.com/mattn/goveralls - - ETH_DEPS=$(go list -f '{{.Imports}} {{.TestImports}} {{.XTestImports}}' github.com/ethereum/go-ethereum/... | sed -e 's/\[//g' | sed -e 's/\]//g' | sed -e 's/C //g'); if [ "$ETH_DEPS" ]; then go get -d -v $ETH_DEPS; fi + - DEPS=$(go list -f '{{.Imports}}' ./... | sed -e 's/\[//g' | sed -e 's/\]//g' | sed -e 's/C //g'); if [ "$DEPS" ]; then go get -d -v $DEPS; fi before_script: - gofmt -l -w . - goimports -l -w . |