Skip to content

Commit 15aa2fb

Browse files
author
travis-ci
committed
Update copyright and push script.
1 parent 5b435a9 commit 15aa2fb

File tree

5 files changed

+7
-107
lines changed

5 files changed

+7
-107
lines changed

.travis.yml

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,6 @@ script:
1212
- tox -e cover
1313
- tox -e system-tests
1414
- tox -e system-tests3
15-
- tox -e docs
1615
- scripts/update_docs.sh
1716

1817
after_success:

scripts/get_version.py

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
# Copyright 2014 Google Inc. All rights reserved.
1+
# Copyright 2016 Google Inc. All rights reserved.
22
#
33
# Licensed under the Apache License, Version 2.0 (the "License");
44
# you may not use this file except in compliance with the License.
@@ -12,7 +12,7 @@
1212
# See the License for the specific language governing permissions and
1313
# limitations under the License.
1414

15-
"""Simple script to get the gcloud version."""
15+
"""Simple script to get the google-cloud version."""
1616

1717
from pkg_resources import get_distribution
18-
print get_distribution('google-cloud').version
18+
print(get_distribution('google-cloud').version)

scripts/update_docs.sh

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

3-
# Copyright 2014 Google Inc. All rights reserved.
3+
# Copyright 2016 Google Inc. All rights reserved.
44
#
55
# Licensed under the Apache License, Version 2.0 (the "License");
66
# you may not use this file except in compliance with the License.
@@ -34,7 +34,7 @@ fi
3434
# Adding GitHub pages branch. `git submodule add` checks it
3535
# out at HEAD.
3636
GH_PAGES_DIR="ghpages"
37-
git submodule add -b gh-pages \
37+
git submodule add -q -b gh-pages \
3838
"https://${GH_OAUTH_TOKEN}@github.com/${GH_OWNER}/${GH_PROJECT_NAME}" \
3939
${GH_PAGES_DIR}
4040

@@ -89,6 +89,6 @@ git config --global user.name "travis-ci"
8989
git commit -m "Update docs after merge to master."
9090
# NOTE: This may fail if two docs updates (on merges to master)
9191
# happen in close proximity.
92-
git push \
92+
git push -q \
9393
"https://${GH_OAUTH_TOKEN}@github.com/${GH_OWNER}/${GH_PROJECT_NAME}" \
9494
HEAD:gh-pages

scripts/update_versions.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
# Copyright 2014 Google Inc. All rights reserved.
1+
# Copyright 2016 Google Inc. All rights reserved.
22
#
33
# Licensed under the Apache License, Version 2.0 (the "License");
44
# you may not use this file except in compliance with the License.

scripts/versions.html.template

Lines changed: 0 additions & 99 deletions
This file was deleted.

0 commit comments

Comments
 (0)