Dashboard sipadu mbip
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.

.travis.yml 803B

123456789101112131415161718192021222324252627282930313233343536
  1. language: php
  2. dist: xenial
  3. sudo: false
  4. cache:
  5. directories:
  6. - $HOME/.composer/cache
  7. php:
  8. - 7.0
  9. - 7.1
  10. - 7.2
  11. - 7.3
  12. - 7.4snapshot
  13. - nightly
  14. install:
  15. - if [ $TRAVIS_PHP_VERSION = '7.0' ]; then composer require satooshi/php-coveralls '~1.0'; fi
  16. - |
  17. if [ $TRAVIS_PHP_VERSION = 'nightly' ]; then
  18. composer install --prefer-dist --ignore-platform-reqs;
  19. else
  20. composer install --prefer-dist;
  21. fi
  22. matrix:
  23. allow_failures:
  24. - php: nightly
  25. fast_finish: true
  26. script:
  27. - if [ $TRAVIS_PHP_VERSION = '7.0' ]; then vendor/bin/phpunit --coverage-clover build/logs/clover.xml; else vendor/bin/phpunit; fi
  28. - if [ $TRAVIS_PHP_VERSION = '7.2' ]; then test_old/run-php-src.sh; fi
  29. after_success:
  30. - if [ $TRAVIS_PHP_VERSION = '7.0' ]; then php vendor/bin/coveralls; fi