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

Loading…
Cancel
Save