diff --git a/.travis.yml b/.travis.yml index 3a17920..fd89380 100644 --- a/.travis.yml +++ b/.travis.yml @@ -4,7 +4,7 @@ php: - 5.6 - 7.0 - 7.1 - - nightly + - 7.3 before_script: - composer install diff --git a/Dockerfile b/Dockerfile index 852e82b..7613c08 100644 --- a/Dockerfile +++ b/Dockerfile @@ -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 @@ -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 diff --git a/changelog.md b/changelog.md index c2cf547..5ab7401 100644 --- a/changelog.md +++ b/changelog.md @@ -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 diff --git a/composer.json b/composer.json index b601e96..665cdd9 100644 --- a/composer.json +++ b/composer.json @@ -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": {