Skip to content

Commit b81b3ae

Browse files
author
Jon Wayne Parrott
committed
Fixing travis
Change-Id: I37af17959db8112c031940bed52203f313c41457
1 parent f5321fa commit b81b3ae

File tree

1 file changed

+4
-6
lines changed

1 file changed

+4
-6
lines changed

scripts/travis.sh

Lines changed: 4 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -1,13 +1,11 @@
11
#!/bin/bash
22

3-
# Decrypt secrets if not on an external PR.
3+
# Decrypt secrets and run tests if not on an external PR.
44
if [[ $TRAVIS_SECURE_ENV_VARS == "true" ]]; then
55
scripts/decrypt-secrets.sh "$SECRETS_PASSWORD"
6-
fi
7-
8-
if [[ $TRAVIS_SECURE_ENV_VARS == "true" ]]; then
9-
source ${TRAVIS_BUILD_DIR}/testing/test-env.sh;
10-
nox --stop-on-first-error -s lint travis;
6+
source ${TRAVIS_BUILD_DIR}/testing/test-env.sh;
7+
export GOOGLE_APPLICATION_CREDENTIALS=${TRAVIS_BUILD_DIR}/testing/service-account.json
8+
nox --stop-on-first-error -s lint travis;
119
else
1210
# only run lint on external PRs
1311
echo 'External PR: only running lint.'

0 commit comments

Comments
 (0)