We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent f5321fa commit b81b3aeCopy full SHA for b81b3ae
scripts/travis.sh
@@ -1,13 +1,11 @@
1
#!/bin/bash
2
3
-# Decrypt secrets if not on an external PR.
+# Decrypt secrets and run tests if not on an external PR.
4
if [[ $TRAVIS_SECURE_ENV_VARS == "true" ]]; then
5
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;
+ source ${TRAVIS_BUILD_DIR}/testing/test-env.sh;
+ export GOOGLE_APPLICATION_CREDENTIALS=${TRAVIS_BUILD_DIR}/testing/service-account.json
+ nox --stop-on-first-error -s lint travis;
11
else
12
# only run lint on external PRs
13
echo 'External PR: only running lint.'
0 commit comments