Removed modules/contrib/media module to allow update to the core media module
[yaffs-website] / vendor / nikic / php-parser / .travis.yml
1 language: php
2 dist: trusty
3 sudo: false
4
5 cache:
6   directories:
7     - $HOME/.composer/cache
8
9 php:
10   - 7.0
11   - 7.1
12   - 7.2
13   - nightly
14
15 install:
16   - if [ $TRAVIS_PHP_VERSION = '7.0' ]; then composer require satooshi/php-coveralls '~1.0'; fi
17   - composer install --prefer-dist
18
19 matrix:
20   allow_failures:
21     - php: nightly
22   fast_finish: true
23
24 script:
25   - if [ $TRAVIS_PHP_VERSION = '7.0' ]; then vendor/bin/phpunit --coverage-clover build/logs/clover.xml; else vendor/bin/phpunit; fi
26   - if [ $TRAVIS_PHP_VERSION = '7.1' ]; then test_old/run-php-src.sh; fi
27
28 after_success:
29   - if [ $TRAVIS_PHP_VERSION = '7.0' ]; then php vendor/bin/coveralls; fi