Skip to content
This repository was archived by the owner on Jul 19, 2024. It is now read-only.

Commit 47b8be5

Browse files
authored
Merge pull request #12 from Superbalist/update-gcloud-pubsub-1-8-2
Update gcloud pubsub to v0.95
2 parents 223b912 + f770795 commit 47b8be5

File tree

4 files changed

+13
-5
lines changed

4 files changed

+13
-5
lines changed

.travis.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@ php:
44
- 5.6
55
- 7.0
66
- 7.1
7-
- nightly
7+
- 7.3
88

99
before_script:
1010
- composer install

Dockerfile

Lines changed: 7 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -17,6 +17,9 @@ RUN docker-php-ext-install -j$(nproc) zip \
1717
&& pecl install grpc \
1818
&& docker-php-ext-enable grpc
1919

20+
RUN pecl install protobuf \
21+
&& docker-php-ext-enable protobuf
22+
2023
# Composer
2124
ENV COMPOSER_HOME /composer
2225
ENV PATH /composer/vendor/bin:$PATH
@@ -28,13 +31,14 @@ RUN curl -o /tmp/composer-setup.php https://getcomposer.org/installer \
2831

2932
# Install Composer Application Dependencies
3033
COPY composer.json /opt/php-pubsub/
31-
RUN composer install --no-autoloader --no-scripts --no-interaction \
32-
&& composer require google/proto-client-php ^0.10.0 \
33-
&& composer require google/gax
34+
RUN composer install --no-autoloader --no-scripts --no-interaction
3435

3536
COPY src /opt/php-pubsub/src
3637
COPY your-gcloud-key.json /opt/php-pubsub
3738
COPY examples /opt/php-pubsub/examples
39+
COPY phpunit.php /opt/php-pubsub
40+
COPY phpunit.xml /opt/php-pubsub
41+
COPY tests /opt/php-pubsub/tests
3842

3943
RUN composer dump-autoload --no-interaction
4044

changelog.md

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,9 @@
11
# Changelog
22

3+
## 5.1.0 - 2019-02-28
4+
5+
* Bump up google/cloud requirement to ^0.95.0
6+
37
## 5.0.1 - 2018-07-27
48

59
* Allow setting of maximum number of messages to pull option

composer.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,7 @@
1111
"require": {
1212
"php": ">=5.6.0",
1313
"superbalist/php-pubsub": "^2.0",
14-
"google/cloud": "^0.33.0|^0.34.0|^0.35.0"
14+
"google/cloud": "^0.95.0"
1515
},
1616
"autoload": {
1717
"psr-4": {

0 commit comments

Comments
 (0)