Mercurial > hg > cmmr2012-drupal-site
annotate vendor/drupal/coder/.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 | |
children | 12f9dff5fda9 |
rev | line source |
---|---|
Chris@4 | 1 dist: trusty |
Chris@4 | 2 language: php |
Chris@4 | 3 sudo: false |
Chris@4 | 4 |
Chris@4 | 5 matrix: |
Chris@4 | 6 fast_finish: true |
Chris@4 | 7 include: |
Chris@4 | 8 - php: 5.4 |
Chris@4 | 9 - php: 5.5 |
Chris@4 | 10 - php: 5.6 |
Chris@4 | 11 - php: 7.0 |
Chris@4 | 12 - php: 7.1 |
Chris@4 | 13 - php: 7.2 |
Chris@4 | 14 - php: nightly |
Chris@4 | 15 - php: hhvm |
Chris@4 | 16 |
Chris@4 | 17 allow_failures: |
Chris@4 | 18 - php: hhvm |
Chris@4 | 19 - php: nightly |
Chris@4 | 20 |
Chris@4 | 21 before_install: |
Chris@4 | 22 # Speed up build time by disabling Xdebug when its not needed. |
Chris@4 | 23 - phpenv config-rm xdebug.ini || echo 'No xdebug config.' |
Chris@4 | 24 # Circumvent a bug in the travis HHVM image - ships with incompatible PHPUnit. |
Chris@4 | 25 - if [[ $TRAVIS_PHP_VERSION == hhv* ]]; then composer self-update; fi |
Chris@4 | 26 - if [[ $TRAVIS_PHP_VERSION == hhv* ]]; then composer require phpunit/phpunit:~4.0; fi |
Chris@4 | 27 - if [[ $TRAVIS_PHP_VERSION == hhv* ]]; then composer install; fi |
Chris@4 | 28 |
Chris@4 | 29 before_script: |
Chris@4 | 30 # We don't have a composer.lock file because we always want to test with |
Chris@4 | 31 # latest dependencies. |
Chris@4 | 32 - composer install |
Chris@4 | 33 |
Chris@4 | 34 script: |
Chris@4 | 35 - ./vendor/bin/phpunit |
Chris@4 | 36 - ./vendor/bin/phpcs -p |
Chris@4 | 37 - ./vendor/bin/phpcs -p --standard=coder_sniffer/Drupal/Test/phpcs-ruleset.xml coder_sniffer/Drupal/Test/good/ --ignore=coder_sniffer/Drupal/Test/good/GoodUnitTest.php |