Skip to content
This repository was archived by the owner on Oct 21, 2022. It is now read-only.

Commit b40f2dc

Browse files
authored
Do not run travis build on forked repo (#41)
1 parent 39029da commit b40f2dc

File tree

2 files changed

+5
-3
lines changed

2 files changed

+5
-3
lines changed

.travis.yml

+5-3
Original file line numberDiff line numberDiff line change
@@ -18,6 +18,8 @@ deploy:
1818
on:
1919
branch: master
2020
before_install:
21-
- openssl aes-256-cbc -K $encrypted_415d6cfcbdfb_key -iv $encrypted_415d6cfcbdfb_iv
22-
-in python-compatibility-tools.json.enc -out python-compatibility-tools.json -d
23-
- export GOOGLE_APPLICATION_CREDENTIALS=python-compatibility-tools.json
21+
- if ! [ -z "$GOOGLE_APPLICATION_CREDENTIALS" ]; then
22+
openssl aes-256-cbc -K $encrypted_415d6cfcbdfb_key -iv $encrypted_415d6cfcbdfb_iv
23+
-in python-compatibility-tools.json.enc -out python-compatibility-tools.json -d;
24+
export GOOGLE_APPLICATION_CREDENTIALS=python-compatibility-tools.json;
25+
fi

python-compatibility-tools.json

Whitespace-only changes.

0 commit comments

Comments
 (0)