annotate vendor/symfony/psr-http-message-bridge/.travis.yml @ 4:a9cd425dd02b

Update, including to Drupal core 8.6.10
author Chris Cannam
date Thu, 28 Feb 2019 13:11:55 +0000
parents c75dbcec494b
children 12f9dff5fda9
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@4 12 - DEPENDENCIES="zendframework/zend-diactoros:^1.4.1 http-interop/http-factory-diactoros:^1.0"
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@4 18 - php: 7.2
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@4 27 env: DEPENDENCIES=""
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@4 35 - php: 7.1
Chris@4 36 - php: 7.2
Chris@4 37 env: COVERAGE=true PHPUNIT_FLAGS="-v --coverage-text"
Chris@4 38
Chris@4 39 # Test LTS versions. This makes sure we do not use Symfony packages with version greater
Chris@4 40 # than 2 or 3 respectively.
Chris@4 41 - php: 7.2
Chris@4 42 env: DEPENDENCIES="$DEPENDENCIES symfony/lts:^2 symfony/force-lowest:~2.8.0"
Chris@4 43 - php: 7.2
Chris@4 44 env: DEPENDENCIES="$DEPENDENCIES symfony/lts:^3 symfony/force-lowest:~3.4.0"
Chris@4 45
Chris@4 46 # Latest commit to master
Chris@4 47 - php: 7.2
Chris@4 48 env: STABILITY="dev"
Chris@4 49
Chris@0 50 allow_failures:
Chris@4 51 # Dev-master is allowed to fail.
Chris@4 52 - env: STABILITY="dev"
Chris@0 53
Chris@0 54 before_install:
Chris@4 55 - if [[ $COVERAGE != true ]]; then phpenv config-rm xdebug.ini || true; fi
Chris@4 56 - if ! [ -z "$STABILITY" ]; then composer config minimum-stability ${STABILITY}; fi;
Chris@4 57 - if ! [ -v "$DEPENDENCIES" ]; then composer require --no-update ${DEPENDENCIES}; fi;
Chris@0 58
Chris@0 59 install:
Chris@4 60 # To be removed when this issue will be resolved: https://github.com/composer/composer/issues/5355
Chris@4 61 - if [[ "$COMPOSER_FLAGS" == *"--prefer-lowest"* ]]; then composer update --prefer-dist --no-interaction --prefer-stable --quiet; fi
Chris@4 62 - composer update ${COMPOSER_FLAGS} --prefer-dist --no-interaction
Chris@4 63 - ./vendor/bin/simple-phpunit install
Chris@0 64
Chris@0 65 script:
Chris@4 66 - composer validate --strict --no-check-lock
Chris@4 67 # simple-phpunit is the PHPUnit wrapper provided by the PHPUnit Bridge component and
Chris@4 68 # it helps with testing legacy code and deprecations (composer require symfony/phpunit-bridge)
Chris@4 69 - ./vendor/bin/simple-phpunit $PHPUNIT_FLAGS