.travis.yml 390 Bytes
Newer Older
Ketan's avatar
Ketan committed
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23
language: php
sudo: false
php:
  - 7.0
  - 7.1
  - 7.2
  - hhvm
matrix:
  include:
    - php: 5.6
      env: COVERALLS=true
  allow_failures:
    - php: hhvm

before_script:
  - composer install

script:
  - ./vendor/bin/psalm
  - ./vendor/phpunit/phpunit/phpunit -c phpunit.xml

after_success:
  - test -z $COVERALLS || (composer require satooshi/php-coveralls && vendor/bin/coveralls -v)