annotate vendor/symfony/psr-http-message-bridge/.travis.yml @ 5:12f9dff5fda9 tip

Update to Drupal core 8.7.1
author Chris Cannam
date Thu, 09 May 2019 15:34:47 +0100
parents a9cd425dd02b
children
rev   line source
Chris@0 1 language: php
Chris@0 2 sudo: false
Chris@0 3 cache:
Chris@0 4 directories:
Chris@0 5 - $HOME/.composer/cache/files
Chris@0 6 - $HOME/symfony-bridge/.phpunit
Chris@0 7
Chris@4 8 env:
Chris@4 9 global:
Chris@4 10 - PHPUNIT_FLAGS="-v"
Chris@4 11 - SYMFONY_PHPUNIT_DIR="$HOME/symfony-bridge/.phpunit"
Chris@5 12 - DEPENDENCIES="nyholm/psr7:^1.1"
Chris@4 13
Chris@0 14 matrix:
Chris@4 15 fast_finish: true
Chris@0 16 include:
Chris@4 17 # Minimum supported dependencies with the latest and oldest PHP version
Chris@5 18 - php: 7.3
Chris@4 19 env: COMPOSER_FLAGS="--prefer-stable --prefer-lowest" SYMFONY_DEPRECATIONS_HELPER="weak_vendors"
Chris@0 20 - php: 5.3
Chris@0 21 dist: 'precise'
Chris@4 22 env: COMPOSER_FLAGS="--prefer-stable --prefer-lowest" SYMFONY_DEPRECATIONS_HELPER="weak_vendors" DEPENDENCIES=""
Chris@4 23
Chris@4 24 # Test the latest stable release
Chris@0 25 - php: 5.3
Chris@0 26 dist: 'precise'
Chris@5 27 env: DEPENDENCIES="symfony/phpunit-bridge:>=3.4,<3.4.22||>=4.0,<4.1.11||>=4.2,<4.2.3"
Chris@4 28 - php: 5.4
Chris@4 29 env: DEPENDENCIES="zendframework/zend-diactoros:^1.4.1"
Chris@4 30 - php: 5.5
Chris@4 31 env: DEPENDENCIES="zendframework/zend-diactoros:^1.4.1"
Chris@0 32 - php: 5.6
Chris@4 33 env: DEPENDENCIES="zendframework/zend-diactoros:^1.4.1"
Chris@0 34 - php: 7.0
Chris@5 35 env: DEPENDENCIES="zendframework/zend-diactoros:^1.4.1 http-interop/http-factory-diactoros:^1.0"
Chris@4 36 - php: 7.1
Chris@4 37 - php: 7.2
Chris@5 38 - php: 7.3
Chris@4 39 env: COVERAGE=true PHPUNIT_FLAGS="-v --coverage-text"
Chris@4 40
Chris@4 41 # Test LTS versions. This makes sure we do not use Symfony packages with version greater
Chris@4 42 # than 2 or 3 respectively.
Chris@5 43 - php: 7.3
Chris@4 44 env: DEPENDENCIES="$DEPENDENCIES symfony/lts:^2 symfony/force-lowest:~2.8.0"
Chris@5 45 - php: 7.3
Chris@4 46 env: DEPENDENCIES="$DEPENDENCIES symfony/lts:^3 symfony/force-lowest:~3.4.0"
Chris@4 47
Chris@4 48 # Latest commit to master
Chris@5 49 - php: 7.3
Chris@4 50 env: STABILITY="dev"
Chris@4 51
Chris@0 52 allow_failures:
Chris@4 53 # Dev-master is allowed to fail.
Chris@4 54 - env: STABILITY="dev"
Chris@0 55
Chris@0 56 before_install:
Chris@4 57 - if [[ $COVERAGE != true ]]; then phpenv config-rm xdebug.ini || true; fi
Chris@4 58 - if ! [ -z "$STABILITY" ]; then composer config minimum-stability ${STABILITY}; fi;
Chris@4 59 - if ! [ -v "$DEPENDENCIES" ]; then composer require --no-update ${DEPENDENCIES}; fi;
Chris@0 60
Chris@0 61 install:
Chris@4 62 # To be removed when this issue will be resolved: https://github.com/composer/composer/issues/5355
Chris@4 63 - if [[ "$COMPOSER_FLAGS" == *"--prefer-lowest"* ]]; then composer update --prefer-dist --no-interaction --prefer-stable --quiet; fi
Chris@4 64 - composer update ${COMPOSER_FLAGS} --prefer-dist --no-interaction
Chris@4 65 - ./vendor/bin/simple-phpunit install
Chris@0 66
Chris@0 67 script:
Chris@4 68 - composer validate --strict --no-check-lock
Chris@4 69 # simple-phpunit is the PHPUnit wrapper provided by the PHPUnit Bridge component and
Chris@4 70 # it helps with testing legacy code and deprecations (composer require symfony/phpunit-bridge)
Chris@4 71 - ./vendor/bin/simple-phpunit $PHPUNIT_FLAGS