mirror of
https://github.com/caddyserver/caddy.git
synced 2024-11-29 12:16:16 +08: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
1015 B
YAML
41 lines
1015 B
YAML
version: "{build}"
|
|
|
|
hosts:
|
|
quic.clemente.io: 127.0.0.1
|
|
|
|
os: Windows Server 2012 R2
|
|
|
|
clone_folder: c:\gopath\src\github.com\mholt\caddy
|
|
|
|
environment:
|
|
GOPATH: c:\gopath
|
|
|
|
install:
|
|
- rmdir c:\go /s /q
|
|
- appveyor DownloadFile https://storage.googleapis.com/golang/go1.9.windows-amd64.zip
|
|
- 7z x go1.9.windows-amd64.zip -y -oC:\ > NUL
|
|
- set PATH=%GOPATH%\bin;%PATH%
|
|
- go version
|
|
- go env
|
|
- 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
|
|
|
|
build: off
|
|
|
|
test_script:
|
|
- gometalinter --disable-all -E vet -E gofmt -E misspell -E ineffassign -E goimports -E deadcode --tests --vendor ./...
|
|
- vendorcheck ./...
|
|
- go test -race ./...
|
|
|
|
after_test:
|
|
- golint ./...
|
|
|
|
deploy: off
|