route/vendor/github.com/lucas-clemente/quic-go/.travis.yml

44 lines
1.1 KiB
YAML
Raw Normal View History

2018-01-03 19:19:49 +00:00
dist: trusty
2018-01-20 18:07:01 +00:00
group: travis_latest
2017-12-12 02:51:45 +00:00
addons:
hosts:
- quic.clemente.io
language: go
go:
2018-01-03 19:19:49 +00:00
- 1.9.2
2018-01-20 18:07:01 +00:00
- 1.10beta1
2017-12-12 02:51:45 +00:00
# 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:
2018-01-03 19:19:49 +00:00
global:
- TIMESCALE_FACTOR=20
matrix:
- TRAVIS_GOARCH=amd64 TESTMODE=unit
- TRAVIS_GOARCH=amd64 TESTMODE=integration
- TRAVIS_GOARCH=386 TESTMODE=unit
- TRAVIS_GOARCH=386 TESTMODE=integration
2017-12-12 02:51:45 +00:00
# second part of the GOARCH workaround
# now actually set the GOARCH env variable to the value of the temporary variable set earlier
before_install:
- go get golang.org/x/tools/cmd/cover
- go get github.com/onsi/ginkgo/ginkgo
- go get github.com/onsi/gomega
- export GOARCH=$TRAVIS_GOARCH
- go env # for debugging
2018-01-03 19:19:49 +00:00
- google-chrome --version
2018-01-20 18:07:01 +00:00
- "printf \"quic.clemente.io certificate valid until: \" && openssl x509 -in example/fullchain.pem -enddate -noout | cut -d = -f 2"
2018-01-03 19:19:49 +00:00
- "export DISPLAY=:99.0"
- "Xvfb $DISPLAY &> /dev/null &"
2017-12-12 02:51:45 +00:00
script:
2018-01-03 19:19:49 +00:00
- .travis/script.sh
2017-12-12 02:51:45 +00:00
after_success:
- .travis/after_success.sh