Mercurial > hg > isophonics-drupal-site
annotate vendor/symfony/psr-http-message-bridge/.travis.yml @ 2:92f882872392
Trusted hosts, + remove migration modules
author | Chris Cannam |
---|---|
date | Tue, 05 Dec 2017 09:26:43 +0000 |
parents | 4c8ae668cc8c |
children | 7a779792577d |
rev | line source |
---|---|
Chris@0 | 1 language: php |
Chris@0 | 2 |
Chris@0 | 3 sudo: false |
Chris@0 | 4 |
Chris@0 | 5 cache: |
Chris@0 | 6 directories: |
Chris@0 | 7 - $HOME/.composer/cache/files |
Chris@0 | 8 |
Chris@0 | 9 matrix: |
Chris@0 | 10 include: |
Chris@0 | 11 - php: 5.3 |
Chris@0 | 12 - php: 5.4 |
Chris@0 | 13 - php: 5.5 |
Chris@0 | 14 - php: 5.6 |
Chris@0 | 15 - php: 5.3 |
Chris@0 | 16 env: deps=low |
Chris@0 | 17 - php: 5.6 |
Chris@0 | 18 env: deps=high |
Chris@0 | 19 - php: 7.0 |
Chris@0 | 20 - php: hhvm |
Chris@0 | 21 allow_failures: |
Chris@0 | 22 - php: hhvm |
Chris@0 | 23 fast_finish: true |
Chris@0 | 24 |
Chris@0 | 25 env: |
Chris@0 | 26 global: |
Chris@0 | 27 - deps=no |
Chris@0 | 28 - SYMFONY_DEPRECATIONS_HELPER=weak |
Chris@0 | 29 |
Chris@0 | 30 before_install: |
Chris@0 | 31 - if [[ "$TRAVIS_PHP_VERSION" != "nightly" ]] && [[ "$TRAVIS_PHP_VERSION" != "hhvm" ]]; then phpenv config-rm xdebug.ini; fi; |
Chris@0 | 32 - composer self-update |
Chris@0 | 33 - if [[ "$TRAVIS_PHP_VERSION" != "nightly" ]] && [[ "$TRAVIS_PHP_VERSION" != "hhvm" ]] && [ $(php -r "echo PHP_MINOR_VERSION;") -le 4 ]; then echo "extension = apc.so" >> ~/.phpenv/versions/$(phpenv version-name)/etc/php.ini; fi; |
Chris@0 | 34 - if [[ "$TRAVIS_PHP_VERSION" != "nightly" ]] && [[ "$TRAVIS_PHP_VERSION" != "hhvm" ]]; then php -i; fi; |
Chris@0 | 35 # Set the COMPOSER_ROOT_VERSION to the right version according to the branch being built |
Chris@0 | 36 - if [ "$TRAVIS_BRANCH" = "master" ]; then export COMPOSER_ROOT_VERSION=dev-master; else export COMPOSER_ROOT_VERSION="$TRAVIS_BRANCH".x-dev; fi; |
Chris@0 | 37 |
Chris@0 | 38 install: |
Chris@0 | 39 - if [ "$TRAVIS_PHP_VERSION" != "5.3" ]; then composer require --no-update zendframework/zend-diactoros; fi; |
Chris@0 | 40 - if [ "$deps" = "no" ]; then export SYMFONY_DEPRECATIONS_HELPER=strict; fi; |
Chris@0 | 41 - if [ "$deps" = "no" ]; then composer --prefer-source install; fi; |
Chris@0 | 42 - if [ "$deps" = "high" ]; then composer --prefer-source update; fi; |
Chris@0 | 43 - if [ "$deps" = "low" ]; then composer --prefer-source --prefer-lowest --prefer-stable update; fi; |
Chris@0 | 44 |
Chris@0 | 45 script: |
Chris@0 | 46 - phpunit |