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

run bash dist/gitcookie.sh step only on build pushes

This commit is contained in:
María de Antón 2016-03-22 16:15:17 +01:00
parent 1efd1029dd
commit ea35893be4

View file

@ -15,7 +15,7 @@ before_install:
- 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:
- bash dist/gitcookie.sh
- if [ "$TRAVIS_PULL_REQUEST" = "false" ]; then bash dist/gitcookie.sh; fi
- go get -t ./...
- go get golang.org/x/tools/cmd/vet