.travis.yml 558 B

123456789101112131415161718192021222324252627282930313233
  1. language: php
  2. sudo: false
  3. cache:
  4. directories:
  5. - $HOME/.composer/cache
  6. php:
  7. - 7.1
  8. - 7.2
  9. - 7.3
  10. - nightly
  11. matrix:
  12. allow_failures:
  13. - php: nightly
  14. services: mongodb
  15. before_install:
  16. - pecl install -f mongodb
  17. before_script:
  18. - composer self-update
  19. - composer install --prefer-source
  20. - composer config "platform.ext-mongo" "1.6.16"
  21. - composer require alcaeus/mongo-php-adapter
  22. - composer require doctrine/mongodb-odm
  23. - composer require jackalope/jackalope-doctrine-dbal doctrine/phpcr-odm
  24. script:
  25. - ./vendor/bin/phpunit -v