Do you wish to register an account?
A Query Builder and Database abstraction layer
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
 
 
 

35 lines
656 B

  1. dist: xenial
  2. os: linux
  3. arch: amd64
  4. language: php
  5. services:
  6. - mysql
  7. - postgresql
  8. php:
  9. - 7.4
  10. - nightly
  11. before_script:
  12. - psql -c 'DROP DATABASE IF EXISTS test;' -U postgres
  13. - psql -c 'create database test;' -U postgres
  14. - mysql -e 'create database IF NOT EXISTS test;'
  15. - composer install --ignore-platform-reqs
  16. script:
  17. - mkdir -p build/logs
  18. - cd build
  19. - ../vendor/bin/phpunit -c phpunit.xml --coverage-clover build/logs/clover.xml
  20. - cd ../
  21. after_script:
  22. - wget https://scrutinizer-ci.com/ocular.phar
  23. - php ocular.phar code-coverage:upload --format=php-clover build/logs/clover.xml
  24. jobs:
  25. allow_failures:
  26. - php: nightly