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

Commit

Permalink
Merge pull request #12 from Superbalist/update-gcloud-pubsub-1-8-2
Browse files Browse the repository at this point in the history
Update gcloud pubsub to v0.95
  • Loading branch information
geyer-za authored Mar 1, 2019
2 parents 223b912 + f770795 commit 47b8be5
Show file tree
Hide file tree
Showing 4 changed files with 13 additions and 5 deletions.
2 changes: 1 addition & 1 deletion .travis.yml
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ php:
- 5.6
- 7.0
- 7.1
- nightly
- 7.3

before_script:
- composer install
Expand Down
10 changes: 7 additions & 3 deletions Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -17,6 +17,9 @@ RUN docker-php-ext-install -j$(nproc) zip \
&& pecl install grpc \
&& docker-php-ext-enable grpc

RUN pecl install protobuf \
&& docker-php-ext-enable protobuf

# Composer
ENV COMPOSER_HOME /composer
ENV PATH /composer/vendor/bin:$PATH
Expand All @@ -28,13 +31,14 @@ RUN curl -o /tmp/composer-setup.php https://getcomposer.org/installer \

# Install Composer Application Dependencies
COPY composer.json /opt/php-pubsub/
RUN composer install --no-autoloader --no-scripts --no-interaction \
&& composer require google/proto-client-php ^0.10.0 \
&& composer require google/gax
RUN composer install --no-autoloader --no-scripts --no-interaction

COPY src /opt/php-pubsub/src
COPY your-gcloud-key.json /opt/php-pubsub
COPY examples /opt/php-pubsub/examples
COPY phpunit.php /opt/php-pubsub
COPY phpunit.xml /opt/php-pubsub
COPY tests /opt/php-pubsub/tests

RUN composer dump-autoload --no-interaction

Expand Down
4 changes: 4 additions & 0 deletions changelog.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,9 @@
# Changelog

## 5.1.0 - 2019-02-28

* Bump up google/cloud requirement to ^0.95.0

## 5.0.1 - 2018-07-27

* Allow setting of maximum number of messages to pull option
Expand Down
2 changes: 1 addition & 1 deletion composer.json
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@
"require": {
"php": ">=5.6.0",
"superbalist/php-pubsub": "^2.0",
"google/cloud": "^0.33.0|^0.34.0|^0.35.0"
"google/cloud": "^0.95.0"
},
"autoload": {
"psr-4": {
Expand Down

0 comments on commit 47b8be5

Please sign in to comment.