Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Commit d03e54d

Browse files
committed
Run v1beta3 tests using gcd.sh
1 parent a295200 commit d03e54d

File tree

9 files changed

+1136
-954
lines changed

9 files changed

+1136
-954
lines changed

.travis.yml

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,9 @@ cache:
66

77
before_install:
88
- ./get_app_engine_sdk.sh
9+
- ./get_gcd_zip.sh
910
- export GAE="./cache/google_appengine"
11+
- export GCD_ZIP="./cache/gcd-v1beta3-0.0.1.zip"
1012

1113
install:
1214
- pip install tox

get_gcd_zip.sh

Lines changed: 37 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,37 @@
1+
#
2+
# Copyright 2015 The ndb Authors. All Rights Reserved.
3+
#
4+
# Licensed under the Apache License, Version 2.0 (the "License");
5+
# you may not use this file except in compliance with the License.
6+
# You may obtain a copy of the License at
7+
#
8+
# http://www.apache.org/licenses/LICENSE-2.0
9+
#
10+
# Unless required by applicable law or agreed to in writing, software
11+
# distributed under the License is distributed on an "AS IS" BASIS,
12+
# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
13+
# See the License for the specific language governing permissions and
14+
# limitations under the License.
15+
#
16+
#!/bin/bash
17+
18+
set -ev
19+
20+
if [[ -d cache ]]; then
21+
echo "Cache exists. Current contents:"
22+
ls -1F cache
23+
else
24+
echo "Making cache directory."
25+
mkdir cache
26+
fi
27+
28+
cd cache
29+
30+
if [[ -f gcd.zip ]]; then
31+
echo "GCD already downloaded. Doing nothing."
32+
else
33+
wget https://storage.googleapis.com/gcd/tools/gcd-v1beta3-0.0.1.zip -nv
34+
fi
35+
36+
echo "Cache contents after getting gcd:"
37+
ls -lF

0 commit comments

Comments
 (0)