.travis.yml
bd89ec8c
 language: php
 
67ccd626
 dist: xenial
 
11baf557
 cache:
747d7bea
     directories:
         - vendor
af1ead50
         - extra/*/vendor
747d7bea
         - $HOME/.composer/cache/files
11baf557
 
b845ed96
 env:
     global:
         - SYMFONY_PHPUNIT_DISABLE_RESULT_CACHE=1
 
498dcf41
 before_install:
1097685b
     - phpenv config-rm xdebug.ini || return 0
8b1f0c7f
     - echo memory_limit = -1 >> ~/.phpenv/versions/$TRAVIS_PHP_VERSION/etc/conf.d/travis.ini
498dcf41
 
b5db9dc5
 install:
747d7bea
     - travis_retry composer install
5dc36446
     - export PHPUNIT=$(readlink -f ./vendor/bin/simple-phpunit)
     - $PHPUNIT install
4e0008cd
     - (cd extra/cssinliner-extra && travis_retry composer install)
     - (cd extra/html-extra && travis_retry composer install)
     - (cd extra/inky-extra && travis_retry composer install)
     - (cd extra/intl-extra && travis_retry composer install)
     - ([[ $TRAVIS_PHP_VERSION = nightly ]] && (cd extra/markdown-extra && composer config platform.php 7.4.99) || true)
     - (cd extra/markdown-extra && travis_retry composer install)
3aa40a42
     - (cd extra/string-extra && travis_retry composer install)
118598ea
 
59bb9d10
 script:
5dc36446
     - $PHPUNIT
4e0008cd
     - (cd extra/cssinliner-extra && $PHPUNIT)
     - (cd extra/html-extra && $PHPUNIT)
     - (cd extra/inky-extra && $PHPUNIT)
     - (cd extra/intl-extra && $PHPUNIT)
     - (cd extra/markdown-extra && $PHPUNIT)
3aa40a42
     - (cd extra/string-extra && $PHPUNIT)
75f2231a
 
4e0008cd
 jobs:
11baf557
     fast_finish: true
3a45bd48
     include:
9c313e3c
         - php: 7.2
         - php: 7.3
c9846876
         - php: 7.4
914d945e
         - php: nightly
8d82f624
         # Drupal does not support 3.x yet
         #- stage: integration tests
         #  php: 7.3
         #  script: ./drupal_test.sh