Skip to content

Commit

Permalink
travis: shard tags over separate builds
Browse files Browse the repository at this point in the history
  • Loading branch information
kortschak committed Mar 5, 2018
1 parent 519cffa commit 94863c5
Showing 1 changed file with 7 additions and 4 deletions.
11 changes: 7 additions & 4 deletions .travis.yml
Expand Up @@ -9,6 +9,12 @@ go:
- 1.10.x
- master

env:
- TAGS=""
- TAGS="-tags bounds"
- TAGS="-tags noasm"
- TAGS="-tags appengine"

matrix:
fast_finish: true
allow_failures:
Expand All @@ -31,10 +37,7 @@ script:
- ${TRAVIS_BUILD_DIR}/.travis/check-formatting.sh
- go get -d -t -v ./...
- go build -v ./...
- go test -v ./...
- go test -a -tags bounds -v ./...
- go test -a -tags noasm -v ./...
- go test -a -tags appengine -v ./...
- go test -a $TAGS -v ./...
- if [[ $TRAVIS_SECURE_ENV_VARS = "true" ]]; then bash ./.travis/test-coverage.sh; fi
- ${TRAVIS_BUILD_DIR}/.travis/check-rand.sh
# This is run last since it alters the tree.
Expand Down

0 comments on commit 94863c5

Please sign in to comment.