Blame view

vendor/nikic/php-parser/.travis.yml 652 Bytes
c4650843   Etienne Pallier   Ajout du dossier ...
1
language: php
d06254b2   Etienne Pallier   bugfix plugin mig...
2
dist: trusty
c4650843   Etienne Pallier   Ajout du dossier ...
3
4
5
6
7
8
9
sudo: false

cache:
  directories:
    - $HOME/.composer/cache

php:
d06254b2   Etienne Pallier   bugfix plugin mig...
10
11
  - 5.5
  - 5.6
c4650843   Etienne Pallier   Ajout du dossier ...
12
  - 7.0
c4650843   Etienne Pallier   Ajout du dossier ...
13
  - nightly
d06254b2   Etienne Pallier   bugfix plugin mig...
14
  - hhvm
c4650843   Etienne Pallier   Ajout du dossier ...
15
16

install:
d06254b2   Etienne Pallier   bugfix plugin mig...
17
  - if [ $TRAVIS_PHP_VERSION = '5.6' ]; then composer require satooshi/php-coveralls '~1.0'; fi
c4650843   Etienne Pallier   Ajout du dossier ...
18
19
20
21
22
23
24
25
  - composer install --prefer-dist

matrix:
  allow_failures:
    - php: nightly
  fast_finish: true

script:
d06254b2   Etienne Pallier   bugfix plugin mig...
26
27
  - if [ $TRAVIS_PHP_VERSION = '5.6' ]; then vendor/bin/phpunit --coverage-clover build/logs/clover.xml; else vendor/bin/phpunit; fi
  - if [ $TRAVIS_PHP_VERSION = '7.0' ]; then test_old/run-php-src.sh; fi
c4650843   Etienne Pallier   Ajout du dossier ...
28
29

after_success:
d06254b2   Etienne Pallier   bugfix plugin mig...
30
  if [ $TRAVIS_PHP_VERSION = '5.6' ]; then php vendor/bin/coveralls; fi