forked from quic-go/quic-go
run Travis tests on 64 bit (amd64) and 32 bit (386)
This commit is contained in:
13
.travis.yml
13
.travis.yml
@@ -3,3 +3,16 @@ language: go
|
||||
go:
|
||||
- 1.6
|
||||
- 1.7beta1
|
||||
|
||||
# first part of the GOARCH workaround
|
||||
# setting the GOARCH directly doesn't work, since the value will be overwritten later
|
||||
# so set it to a temporary environment variable first
|
||||
env:
|
||||
- TRAVIS_GOARCH=amd64
|
||||
- TRAVIS_GOARCH=386
|
||||
|
||||
# second part of the GOARCH workaround
|
||||
# now actually set the GOARCH env variable to the value of the temporary variable set earlier
|
||||
before_install:
|
||||
- export GOARCH=$TRAVIS_GOARCH
|
||||
- go env # for debugging
|
||||
|
||||
Reference in New Issue
Block a user