mirror of
https://github.com/caddyserver/caddy.git
synced 2024-12-23 22:27:38 -05:00
22b835b9f4
* Proxy can now use QUIC for upstream connections Add HandshakeTimeout, change h2quic syntax * Add setup and upstream test Test QUIC proxy with actual h2quic instance Use different port fo QUIC test server Add quic host to CI config Added testdata to vendor Revert "Added testdata to vendor" This reverts commit 959512282deed8623168d090e5ca5e5a7933019c. * Use local testdata
41 lines
1.2 KiB
YAML
41 lines
1.2 KiB
YAML
language: go
|
|
|
|
addons:
|
|
hosts:
|
|
- quic.clemente.io
|
|
|
|
go:
|
|
- 1.9
|
|
- tip
|
|
|
|
matrix:
|
|
allow_failures:
|
|
- go: tip
|
|
fast_finish: true
|
|
|
|
before_install:
|
|
# Decrypts a script that installs an authenticated cookie
|
|
# for git to use when cloning from googlesource.com.
|
|
# Bypasses "bandwidth limit exceeded" errors.
|
|
# See github.com/golang/go/issues/12933
|
|
- if [ "$TRAVIS_PULL_REQUEST" = "false" ]; then openssl aes-256-cbc -K $encrypted_3df18f9af81d_key -iv $encrypted_3df18f9af81d_iv -in dist/gitcookie.sh.enc -out dist/gitcookie.sh -d; fi
|
|
|
|
install:
|
|
- if [ "$TRAVIS_PULL_REQUEST" = "false" ]; then bash dist/gitcookie.sh; fi
|
|
- go get -t ./...
|
|
- go get github.com/golang/lint/golint
|
|
- go get github.com/FiloSottile/vendorcheck
|
|
# Install gometalinter and certain linters
|
|
- go get github.com/alecthomas/gometalinter
|
|
- go get github.com/client9/misspell/cmd/misspell
|
|
- go get github.com/gordonklaus/ineffassign
|
|
- go get golang.org/x/tools/cmd/goimports
|
|
- go get github.com/tsenart/deadcode
|
|
|
|
script:
|
|
- gometalinter --disable-all -E vet -E gofmt -E misspell -E ineffassign -E goimports -E deadcode --tests --vendor ./...
|
|
- vendorcheck ./...
|
|
- go test -race ./...
|
|
|
|
after_script:
|
|
- golint ./...
|