Skip to content

Commit 771bf00

Browse files
committed
pulling in changes from master
2 parents 0d85cea + 8df2776 commit 771bf00

25 files changed

+683
-374
lines changed

.travis.yml

Lines changed: 10 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -41,11 +41,18 @@ before_install:
4141
- mkdir -p build/logs
4242

4343
before_script:
44-
- pecl install grpc
44+
- travis_retry pecl install grpc-1.4.1
4545

4646
script:
4747
- testing/run_all_tests.sh
4848

4949
after_success:
50-
- composer require "satooshi/php-coveralls:^1.0"
51-
- travis_retry php vendor/bin/coveralls -v
50+
- |
51+
# if we are running all the tests, run coveralls
52+
FILES_CHANGED=$(git diff --name-only HEAD $(git merge-base HEAD master))
53+
if grep -q ^testing\/ <<< "$FILES_CHANGED" || \
54+
grep -qv \/ <<< "$FILES_CHANGED" || \
55+
[ -e $TRAVIS_PULL_REQUEST_BRANCH ]; then
56+
composer require "satooshi/php-coveralls:^1.0"
57+
travis_retry php vendor/bin/coveralls -v
58+
fi

language/api/README.md

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -189,6 +189,13 @@ to [browse the source][google-cloud-php-source] and [report issues][google-clou
189189

190190
## Troubleshooting
191191

192+
If you get the following error, set the environment variable `GCLOUD_PROJECT` to your project ID:
193+
194+
```
195+
[Google\Cloud\Core\Exception\GoogleException]
196+
No project ID was provided, and we were unable to detect a default project ID.
197+
```
198+
192199
If you have not set a timezone you may get an error from php. This can be resolved by:
193200

194201
1. Finding where the php.ini is stored by running php -i | grep 'Configuration File'

language/api/composer.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"require": {
3-
"google/cloud-language": "^0.3",
3+
"google/cloud-language": "^0.4",
44
"symfony/console": "^3.0",
55
"google/cloud-storage": "^1.0",
66
"symfony/yaml": "^3.2"

0 commit comments

Comments
 (0)