Skip to content

Commit

Permalink
build: inline travis btcd build
Browse files Browse the repository at this point in the history
  • Loading branch information
Roasbeef committed Nov 30, 2018
1 parent 24ab997 commit 0734e53
Showing 1 changed file with 3 additions and 7 deletions.
10 changes: 3 additions & 7 deletions .travis.yml
Original file line number Diff line number Diff line change
@@ -1,7 +1,6 @@
language: go
cache:
directories:
- vendor/
- $GOCACHE
- $GOPATH/pkg/mod
- $GOPATH/src/github.com/btcsuite
Expand Down Expand Up @@ -29,17 +28,14 @@ install:
script:
- export GO111MODULE=on

# Common for all builds.
- make btcd

# Run unit tests with race condition detector.
- 'if [ "$RACE" = true ]; then make unit-race ; fi'
- 'if [ "$RACE" = true ]; then make btcd && make unit-race ; fi'

# Run integration tests.
- 'if [ "$ITEST" = true ]; then make build && make itest-only; fi'
- 'if [ "$ITEST" = true ]; then make btcd && make build && make itest-only; fi'

# Run unit tests and generate coverage report.
- 'if [ "$COVER" = true ]; then make lint && make unit-cover && make goveralls; fi'
- 'if [ "$COVER" = true ]; then make btcd && make lint && make unit-cover && make goveralls; fi'

after_script:
- echo "Uploading to termbin.com..." && find *.log | xargs -I{} sh -c "cat {} | nc termbin.com 9999 | xargs -r0 printf '{} uploaded to %s'"
Expand Down

0 comments on commit 0734e53

Please sign in to comment.