37 lines
718 B
YAML
37 lines
718 B
YAML
language: php
|
|
|
|
dist: xenial
|
|
|
|
cache:
|
|
directories:
|
|
- vendor
|
|
- $HOME/.composer/cache/files
|
|
|
|
env:
|
|
global:
|
|
- SYMFONY_PHPUNIT_DISABLE_RESULT_CACHE=1
|
|
|
|
before_install:
|
|
- phpenv config-rm xdebug.ini || return 0
|
|
- echo memory_limit = -1 >> ~/.phpenv/versions/$TRAVIS_PHP_VERSION/etc/conf.d/travis.ini
|
|
|
|
install:
|
|
- travis_retry composer install
|
|
- export PHPUNIT=$(readlink -f ./vendor/bin/simple-phpunit)
|
|
- $PHPUNIT install
|
|
|
|
script:
|
|
- $PHPUNIT
|
|
|
|
jobs:
|
|
fast_finish: true
|
|
include:
|
|
- php: 7.1
|
|
- php: 7.2
|
|
- php: 7.3
|
|
- php: 7.4
|
|
- php: nightly
|
|
- stage: integration tests
|
|
php: 7.3
|
|
script: ./drupal_test.sh
|