Mercurial > hg > cmmr2012-drupal-site
annotate vendor/symfony/psr-http-message-bridge/.travis.yml @ 0:c75dbcec494b
Initial commit from drush-created site
author | Chris Cannam |
---|---|
date | Thu, 05 Jul 2018 14:24:15 +0000 |
parents | |
children | a9cd425dd02b |
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 - $HOME/symfony-bridge/.phpunit |
Chris@0 | 9 |
Chris@0 | 10 matrix: |
Chris@0 | 11 include: |
Chris@0 | 12 - php: 5.3 |
Chris@0 | 13 dist: 'precise' |
Chris@0 | 14 - php: 5.4 |
Chris@0 | 15 - php: 5.5 |
Chris@0 | 16 - php: 5.6 |
Chris@0 | 17 - php: 5.3 |
Chris@0 | 18 dist: 'precise' |
Chris@0 | 19 env: COMPOSER_OPTIONS="--prefer-lowest --prefer-stable" SYMFONY_DEPRECATIONS_HELPER=weak |
Chris@0 | 20 - php: 5.6 |
Chris@0 | 21 env: COMPOSER_OPTIONS="" SYMFONY_DEPRECATIONS_HELPER=weak |
Chris@0 | 22 - php: 7.0 |
Chris@0 | 23 - php: hhvm |
Chris@0 | 24 allow_failures: |
Chris@0 | 25 - php: hhvm |
Chris@0 | 26 fast_finish: true |
Chris@0 | 27 |
Chris@0 | 28 env: |
Chris@0 | 29 global: |
Chris@0 | 30 - deps=no |
Chris@0 | 31 - SYMFONY_DEPRECATIONS_HELPER=strict |
Chris@0 | 32 - SYMFONY_PHPUNIT_DIR="$HOME/symfony-bridge/.phpunit" |
Chris@0 | 33 - COMPOSER_OPTIONS="--prefer-stable" |
Chris@0 | 34 |
Chris@0 | 35 before_install: |
Chris@0 | 36 - if [[ "$TRAVIS_PHP_VERSION" != "nightly" ]] && [[ "$TRAVIS_PHP_VERSION" != "hhvm" ]]; then phpenv config-rm xdebug.ini; fi; |
Chris@0 | 37 - composer self-update |
Chris@0 | 38 - 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 | 39 - if [[ "$TRAVIS_PHP_VERSION" != "nightly" ]] && [[ "$TRAVIS_PHP_VERSION" != "hhvm" ]]; then php -i; fi; |
Chris@0 | 40 # Set the COMPOSER_ROOT_VERSION to the right version according to the branch being built |
Chris@0 | 41 - if [ "$TRAVIS_BRANCH" = "master" ]; then export COMPOSER_ROOT_VERSION=dev-master; else export COMPOSER_ROOT_VERSION="$TRAVIS_BRANCH".x-dev; fi; |
Chris@0 | 42 |
Chris@0 | 43 install: |
Chris@0 | 44 - if [ "$TRAVIS_PHP_VERSION" != "5.3" ]; then composer require --no-update zendframework/zend-diactoros; fi; |
Chris@0 | 45 - composer update --prefer-source $COMPOSER_OPTIONS |
Chris@0 | 46 - vendor/bin/simple-phpunit install |
Chris@0 | 47 |
Chris@0 | 48 script: |
Chris@0 | 49 - vendor/bin/simple-phpunit |