Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
9 changes: 6 additions & 3 deletions .travis.yml
Original file line number Diff line number Diff line change
Expand Up @@ -30,13 +30,16 @@ env:
global:
- GOOGLE_APPLICATION_CREDENTIALS=$TRAVIS_BUILD_DIR/credentials.json
- GOOGLE_VERSION_ID=$TRAVIS_JOB_ID
- PATH=${HOME}/gcloud/google-cloud-sdk/bin:${PATH}
- PATH=${HOME}/google-cloud-sdk/bin:${PATH}
- PHP_CGI_PATH=/home/travis/.phpenv/shims/php-cgi
- TEST_BUILD_DIR=$TRAVIS_BUILD_DIR

before_install:
- php dump_credentials.php
- travis_retry testing/install_test_deps.sh
- pushd ${HOME}
- git clone https://github.com/GoogleCloudPlatform/php-tools.git
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Why are we cloning this instead of just adding it to require-dev in composer.json?

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I can do that, but currently we don't have top level composer.json and I just thought it's not warrant to add the top level composer.json. Each test has it in their require-dev.

Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Ahh, I see. Yeah let's not worry about it then.

- php php-tools/scripts/dump_credentials.php
- travis_retry php-tools/scripts/install_test_deps.sh
- popd
- mkdir -p build/logs

script:
Expand Down
14 changes: 0 additions & 14 deletions dump_credentials.php

This file was deleted.

72 changes: 0 additions & 72 deletions testing/install_test_deps.sh

This file was deleted.

2 changes: 1 addition & 1 deletion testing/run_test_suite.sh
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@ set -ex

# run php-cs-fixer
if [ "${RUN_CS_FIXER}" = "true" ]; then
./php-cs-fixer fix --dry-run --diff --config-file=.php_cs .
${HOME}/php-cs-fixer fix --dry-run --diff --config-file=.php_cs .
fi

# loop through all directories containing "phpunit.xml" and run them
Expand Down