Skip to:
Content

BuddyPress.org

Changeset 12282 for trunk/.travis.yml


Ignore:
Timestamp:
11/07/2018 04:44:50 PM (5 years ago)
Author:
boonebgorges
Message:

Travis CI: Don't install Composer packages on PHP < 5.4.

The phpcompatibility-wp library has requirements that need at least PHP 5.4,
and we only use this library when testing against 7.2, so there's no need
to install on earlier version of PHP.

This will likely have to be revisited at some point in the future, when
we use Composer for more integral parts of the build/dev process.

See #7997.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/.travis.yml

    r12278 r12282  
    8383  # prepare for running the tests
    8484  - cd $plugin_dir
    85   - composer install
    8685
    8786  # setup NodeJS version using NVM
     
    105104before_script:
    106105  - if [[ ${TRAVIS_PHP_VERSION:0:3} == "5.3" ]]; then composer global require --dev phpunit/phpunit ^4; fi
    107   - if [[ ${TRAVIS_PHP_VERSION:0:3} == "5.6" ]]; then composer global require --dev phpunit/phpunit ^5; fi
    108   - if [[ ${TRAVIS_PHP_VERSION:0:3} == "7.2" ]]; then composer global require --dev phpunit/phpunit ^6; fi
     106  - if [[ ${TRAVIS_PHP_VERSION:0:3} == "5.6" ]]; then composer global require --dev phpunit/phpunit ^5; composer install; fi
     107  - if [[ ${TRAVIS_PHP_VERSION:0:3} == "7.2" ]]; then composer global require --dev phpunit/phpunit ^6; composer install; fi
    109108  - mkdir -p /tmp/node/node_modules
    110109  - ln -s /tmp/node/node_modules $plugin_dir/node_modules
Note: See TracChangeset for help on using the changeset viewer.