Mercurial > hg > isophonics-drupal-site
comparison vendor/symfony/psr-http-message-bridge/.travis.yml @ 0:4c8ae668cc8c
Initial import (non-working)
author | Chris Cannam |
---|---|
date | Wed, 29 Nov 2017 16:09:58 +0000 |
parents | |
children | 7a779792577d |
comparison
equal
deleted
inserted
replaced
-1:000000000000 | 0:4c8ae668cc8c |
---|---|
1 language: php | |
2 | |
3 sudo: false | |
4 | |
5 cache: | |
6 directories: | |
7 - $HOME/.composer/cache/files | |
8 | |
9 matrix: | |
10 include: | |
11 - php: 5.3 | |
12 - php: 5.4 | |
13 - php: 5.5 | |
14 - php: 5.6 | |
15 - php: 5.3 | |
16 env: deps=low | |
17 - php: 5.6 | |
18 env: deps=high | |
19 - php: 7.0 | |
20 - php: hhvm | |
21 allow_failures: | |
22 - php: hhvm | |
23 fast_finish: true | |
24 | |
25 env: | |
26 global: | |
27 - deps=no | |
28 - SYMFONY_DEPRECATIONS_HELPER=weak | |
29 | |
30 before_install: | |
31 - if [[ "$TRAVIS_PHP_VERSION" != "nightly" ]] && [[ "$TRAVIS_PHP_VERSION" != "hhvm" ]]; then phpenv config-rm xdebug.ini; fi; | |
32 - composer self-update | |
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; | |
34 - if [[ "$TRAVIS_PHP_VERSION" != "nightly" ]] && [[ "$TRAVIS_PHP_VERSION" != "hhvm" ]]; then php -i; fi; | |
35 # Set the COMPOSER_ROOT_VERSION to the right version according to the branch being built | |
36 - if [ "$TRAVIS_BRANCH" = "master" ]; then export COMPOSER_ROOT_VERSION=dev-master; else export COMPOSER_ROOT_VERSION="$TRAVIS_BRANCH".x-dev; fi; | |
37 | |
38 install: | |
39 - if [ "$TRAVIS_PHP_VERSION" != "5.3" ]; then composer require --no-update zendframework/zend-diactoros; fi; | |
40 - if [ "$deps" = "no" ]; then export SYMFONY_DEPRECATIONS_HELPER=strict; fi; | |
41 - if [ "$deps" = "no" ]; then composer --prefer-source install; fi; | |
42 - if [ "$deps" = "high" ]; then composer --prefer-source update; fi; | |
43 - if [ "$deps" = "low" ]; then composer --prefer-source --prefer-lowest --prefer-stable update; fi; | |
44 | |
45 script: | |
46 - phpunit |