diff options
-rw-r--r-- | .travis.yml | 37 | ||||
-rw-r--r-- | appveyor.yml | 38 |
2 files changed, 0 insertions, 75 deletions
diff --git a/.travis.yml b/.travis.yml deleted file mode 100644 index 5040e0036..000000000 --- a/.travis.yml +++ /dev/null @@ -1,37 +0,0 @@ -language: go - -addons: - hosts: - - quic.clemente.io - -go: - - 1.x - - 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 golang.org/x/lint/golint - - go get github.com/FiloSottile/vendorcheck - - go get github.com/alecthomas/gometalinter - -script: - - gometalinter --install - - gometalinter --disable-all -E vet -E gofmt -E misspell -E ineffassign -E goimports -E deadcode --tests --vendor ./... - - vendorcheck ./... - - go test -race ./... - -after_script: - - golint ./... diff --git a/appveyor.yml b/appveyor.yml deleted file mode 100644 index 7d04da931..000000000 --- a/appveyor.yml +++ /dev/null @@ -1,38 +0,0 @@ -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 - -stack: go 1.12 - -install: - - set PATH=%GOPATH%\bin;%PATH% - - set PATH=C:\msys64\mingw64\bin;%PATH% - - go version - - go env - - go get -t ./... - - go get golang.org/x/lint/golint - - go get github.com/FiloSottile/vendorcheck - - go get github.com/alecthomas/gometalinter - -build: off - -test_script: - - gometalinter --install - - 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 - -skip_branch_with_pr: true |