Security update for Core, with self-updated composer
[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   - 5.5
11   - 5.6
12   - 7.0
13   - nightly
14   - hhvm
15
16 install:
17   - if [ $TRAVIS_PHP_VERSION = '5.6' ]; then composer require satooshi/php-coveralls '~1.0'; fi
18   - composer install --prefer-dist
19
20 matrix:
21   allow_failures:
22     - php: nightly
23   fast_finish: true
24
25 script:
26   - if [ $TRAVIS_PHP_VERSION = '5.6' ]; then vendor/bin/phpunit --coverage-clover build/logs/clover.xml; else vendor/bin/phpunit; fi
27   - if [ $TRAVIS_PHP_VERSION = '7.0' ]; then test_old/run-php-src.sh; fi
28
29 after_success:
30   if [ $TRAVIS_PHP_VERSION = '5.6' ]; then php vendor/bin/coveralls; fi
31