Skip to content

Commit

Permalink
uses curl instead of wget
Browse files Browse the repository at this point in the history
  • Loading branch information
bshaffer committed Dec 18, 2018
1 parent f5527e9 commit 057aaf9
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 8 deletions.
3 changes: 0 additions & 3 deletions .kokoro/docker/Dockerfile.template
Original file line number Diff line number Diff line change
Expand Up @@ -7,9 +7,6 @@ RUN apt-get update && apt-get install -y \
zlib1g-dev \
jq

RUN git clone https://github.com/GoogleCloudPlatform/php-tools.git ${HOME}/php-tools \
&& ${HOME}/php-tools/scripts/install_test_deps.sh

# install / enable PHP extensions
RUN pecl install grpc \
&& echo "extension=grpc.so" >> /opt/PHP_VERSION/lib/conf.d/ext-grpc.ini \
Expand Down
10 changes: 5 additions & 5 deletions .kokoro/system_tests.sh
Original file line number Diff line number Diff line change
Expand Up @@ -44,12 +44,12 @@ mkdir -p build/logs

export IS_PULL_REQUEST=$KOKORO_GITHUB_PULL_REQUEST_COMMIT

# Run tests
bash testing/run_test_suite.sh

# Run code standards check on latest version of PHP
# Run code standards check when appropriate
if [ "${RUN_CS_CHECK}" = "true" ]; then
wget http://cs.sensiolabs.org/download/php-cs-fixer-v2.phar -O php-cs-fixer \
curl -L https://cs.sensiolabs.org/download/php-cs-fixer-v2.phar -o php-cs-fixer \
&& chmod a+x php-cs-fixer
bash testing/run_cs_check.sh
fi

# Run tests
bash testing/run_test_suite.sh

0 comments on commit 057aaf9

Please sign in to comment.