|
|
@ -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
|
|
|
|