.travis.yml 587B

12345678910111213141516171819202122232425262728
  1. sudo: false
  2. language: php
  3. php:
  4. - 7.1
  5. - 7.2
  6. - nightly
  7. before_script:
  8. - psql -c 'DROP DATABASE IF EXISTS test;' -U postgres
  9. - psql -c 'create database test;' -U postgres
  10. - mysql -e 'create database IF NOT EXISTS test;'
  11. - composer install
  12. script:
  13. - mkdir -p build/logs
  14. - cd build
  15. - ../vendor/bin/phpunit -c phpunit.xml --coverage-clover build/logs/clover.xml
  16. - cd ../
  17. after_script:
  18. - wget https://scrutinizer-ci.com/ocular.phar
  19. - php ocular.phar code-coverage:upload --format=php-clover build/logs/clover.xml
  20. matrix:
  21. allow_failures:
  22. - php: nightly