0
Fork 0
mirror of https://github.com/caddyserver/caddy.git synced 2024-12-23 22:27:38 -05:00
caddy/.travis.yml

34 lines
847 B
YAML
Raw Normal View History

2015-05-05 23:54:13 -05:00
language: go
2015-07-18 02:37:22 -05:00
go:
2016-08-02 11:55:38 -05:00
- 1.6.3
- 1.7.1
2015-07-18 02:37:22 -05:00
- tip
2016-08-16 00:05:46 -05:00
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/gordonklaus/ineffassign
script:
2016-03-28 11:52:48 -05:00
- diff <(echo -n) <(gofmt -s -d .)
- ineffassign .
- go vet ./...
2016-08-02 11:55:38 -05:00
- go test -race ./...
after_script:
- golint ./...