.travis.yml
bd89ec8c
 language: php
 
f8eda56c
 dist: trusty
 
118598ea
 sudo: false
 
11baf557
 cache:
     directories:
         - vendor
614ade9a
         - $HOME/.composer/cache/files
11baf557
 
b776e41f
 
bd89ec8c
 env:
b776e41f
     global:
         - TWIG_EXT=no
         - SYMFONY_PHPUNIT_REMOVE_RETURN_TYPEHINT=1
bd89ec8c
 
498dcf41
 before_install:
1097685b
     - phpenv config-rm xdebug.ini || return 0
498dcf41
 
b5db9dc5
 install:
75f2231a
     - travis_retry composer install
118598ea
 
 before_script:
     - if [ "$TWIG_EXT" == "yes" ]; then sh -c "cd ext/twig && phpize && ./configure --enable-twig && make && make install"; fi
     - if [ "$TWIG_EXT" == "yes" ]; then echo "extension=twig.so" >> `php --ini | grep "Loaded Configuration" | sed -e "s|.*:\s*||"`; fi
e03b05e0
 
b78a1dd1
 script: ./vendor/bin/simple-phpunit
75f2231a
 
9c313e3c
 jobs:
11baf557
     fast_finish: true
3a45bd48
     include:
738f17bb
         - php: 5.5
9c313e3c
         - php: 5.5
56e09fb7
           env: TWIG_EXT=yes
738f17bb
         - php: 5.6
9c313e3c
         - php: 5.6
0768f10b
           env: TWIG_EXT=yes
9c313e3c
         - php: 7.0
         - php: 7.1
         - php: 7.2
         - php: 7.3
7be8e944
         - php: 7.4snapshot
9c313e3c
         - stage: integration tests
           php: 7.3
           script: ./drupal_test.sh