Only install on Travis

pull/2827/head
Seth Vargo 8 years ago
parent 38b1c61acc
commit 73fc8d2a52
No known key found for this signature in database
GPG Key ID: C921994F9C27E0FF

@ -1,9 +1,11 @@
#!/usr/bin/env bash
set -e
# Install all packages - this will make running the suite faster
echo "--> Installing packages for faster tests"
go install -tags="${GOTAGS}" -a ./...
if [ -n "$TRAVIS" ]; then
# Install all packages - this will make running the suite faster
echo "--> Installing packages for faster tests"
go install -tags="${GOTAGS}" -a ./...
fi
# If we are testing the API, build and install consul
if grep -q "/consul/api" <<< "${GOFILES}"; then

Loading…
Cancel
Save