Skip to content

Commit d311b1b

Browse files
committed
Merge pull request bnb-chain#301 from ethereum/travis
Updates to Travis config
2 parents 3c40eb9 + e4bb419 commit d311b1b

1 file changed

Lines changed: 5 additions & 3 deletions

File tree

‎.travis.yml‎

Lines changed: 5 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -11,16 +11,18 @@ install:
1111
# - go get golang.org/x/tools/cmd/vet
1212
- if ! go get code.google.com/p/go.tools/cmd/cover; then go get golang.org/x/tools/cmd/cover; fi
1313
- go get github.com/mattn/goveralls
14-
- go get -d github.com/obscuren/qml && cd $HOME/gopath/src/github.com/obscuren/qml && git checkout v1 && cd $TRAVIS_BUILD_DIR
15-
- 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 $ETH_DEPS; fi
14+
- go get gopkg.in/check.v1
15+
- 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
1616
before_script:
1717
- gofmt -l -w .
1818
- goimports -l -w .
1919
- golint .
2020
# - go vet ./...
2121
# - go test -race ./...
2222
script:
23-
- ./gocoverage.sh && if [ "$COVERALLS_TOKEN" ]; then goveralls -coverprofile=profile.cov -service=travis-ci -repotoken $COVERALLS_TOKEN; fi
23+
- ./gocoverage.sh
24+
after_success:
25+
- if [ "$COVERALLS_TOKEN" ]; then goveralls -coverprofile=profile.cov -service=travis-ci -repotoken $COVERALLS_TOKEN; fi
2426
env:
2527
global:
2628
- PKG_CONFIG_PATH=/opt/qt54/lib/pkgconfig

0 commit comments

Comments
 (0)