FazBrowse GitHub Viewer
|
Trending
|
URL:
|
Home
Tools:
[Download Repo ZIP]
[View Raw Code]
[Original HTTPS Page]
python-docs-samples/scripts/travis.sh at master · NulledExceptions/python-docs-samples · GitHub
NulledExceptions
/
python-docs-samples
Public
forked from
GoogleCloudPlatform/python-docs-samples
Notifications
You must be signed in to change notification settings
Fork
0
Star
0
Code
Pull requests
0
Actions
Projects
Wiki
Security and quality
0
Insights
Additional navigation options
Code
Pull requests
Actions
Projects
Wiki
Security and quality
Insights
Expand file tree
Breadcrumbs
python-docs-samples
/
scripts
/
travis.sh
Copy path
More file actions
More file actions
Latest commit
History
History
History
executable file
·
14 lines (13 loc) · 614 Bytes
Breadcrumbs
python-docs-samples
/
scripts
/
travis.sh
Copy path
File metadata and controls
executable file
·
14 lines (13 loc) · 614 Bytes
Raw
Copy raw file
Download raw file
Open symbols panel
Edit and raw actions
1
2
3
4
5
6
7
8
9
10
11
12
13
14
#!
/bin/bash
#
Decrypt secrets and run tests if not on an external PR.
if
[[
$TRAVIS_SECURE_ENV_VARS
==
"
true
"
]]
;
then
scripts/decrypt-secrets.sh
"
$SECRETS_PASSWORD
"
source
${TRAVIS_BUILD_DIR}
/testing/test-env.sh
;
export
GOOGLE_APPLICATION_CREDENTIALS=
${TRAVIS_BUILD_DIR}
/testing/service-account.json
export
GOOGLE_CLIENT_SECRETS=
${TRAVIS_BUILD_DIR}
/testing/client-secrets.json
nox --envdir /tmp --stop-on-first-error -s lint gae py35 -- -m
"
not slow
"
;
else
#
only run lint on external PRs
echo
'
External PR: only running lint.
'
nox --envdir /tmp --stop-on-first-error -s lint
;
fi
Back
|
FazBrowse Home
|
New Git URL