forked from googleapis/google-cloud-python
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Test commit: inspect the env. vars. Travis / CircleCI use.
This is sniffing around towards googleapis#2277, to see how much info we can use to restrict the tests we run.
- Loading branch information
Showing
5 changed files
with
30 additions
and
35 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,29 +1,6 @@ | ||
language: python | ||
sudo: false | ||
|
||
addons: | ||
apt: | ||
sources: | ||
- deadsnakes | ||
packages: | ||
- python3.5 | ||
|
||
install: | ||
- pip install --upgrade pip tox | ||
|
||
script: | ||
- python2.7 scripts/run_unit_tests.py | ||
- python3.4 scripts/run_unit_tests.py | ||
- python3.5 scripts/run_unit_tests.py | ||
- python scripts/run_unit_tests.py --tox-env cover | ||
- tox -e lint | ||
- tox -e system-tests | ||
- tox -e system-tests3 | ||
- scripts/update_docs.sh | ||
|
||
after_success: | ||
- scripts/coveralls.sh | ||
|
||
cache: | ||
directories: | ||
- ${HOME}/.cache/pip | ||
- python scripts/print_travis.py | ||
- scripts/show_git_status.sh |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,6 @@ | ||
import json | ||
import os | ||
|
||
|
||
env = dict(os.environ) | ||
print(json.dumps(env, indent=2, sort_keys=True)) |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,10 @@ | ||
import os | ||
|
||
our_keys = sorted(key for key in os.environ.keys() | ||
if 'travis' in key.lower()) | ||
if our_keys: | ||
for key in our_keys: | ||
print('%s: %s' % (key, os.getenv(key))) | ||
else: | ||
print('No keys here, sorry') | ||
# Added just for a commit. |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,10 @@ | ||
#!/bin/bash | ||
set -ev | ||
|
||
git status | ||
echo '====================================' | ||
git remote -vv | ||
echo '====================================' | ||
git branch -vv | ||
echo '====================================' | ||
git branch -a |