.scrutinizer.yml 1.5 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748
  1. # .scrutinizer.yml - see https://scrutinizer-ci.com/docs/guides/php/continuous-integration-deployment for doc
  2. # Excludes go for things do not contain code, are not managed well by Scrutinizer or are external libraries that
  3. # Chamilo includes but that we cannot update without patching upstream.
  4. build:
  5. environment:
  6. mysql: 5.5
  7. php:
  8. version: 5.6.0
  9. ini:
  10. 'date.timezone': 'US/Pacific'
  11. 'phar.readonly': false
  12. hosts:
  13. my.chamilodev.net: '127.0.0.1'
  14. dependencies:
  15. override:
  16. - true
  17. before:
  18. - php -d memory_limit=2G /usr/bin/composer.phar -v update
  19. filter:
  20. excluded_paths:
  21. - tests/*
  22. - main/img/*
  23. - main/lang/*
  24. - app/cache/*
  25. - app/logs/*
  26. - web/*
  27. - vendor/*
  28. - main/admin/db.php
  29. - app/Migrations/*
  30. - main/inc/lib/browser/*
  31. - main/inc/lib/elfinder/*
  32. - main/inc/lib/freemindflashbrowser/*
  33. - main/inc/lib/kses-0.2.2/*
  34. - main/inc/lib/mimetex/*
  35. - main/inc/lib/nanogong/*
  36. - main/inc/lib/pclzip/*
  37. - main/inc/lib/pear/*
  38. - main/inc/lib/phpmailer/*
  39. - main/inc/lib/phpseclib/*
  40. - main/inc/lib/svg-edit/*
  41. - main/inc/lib/swfobject/*
  42. - main/inc/lib/wami-recorder/*
  43. - main/inc/lib/xajax/*
  44. - main/auth/cas/lib/CAS/*
  45. checks:
  46. php:
  47. code_rating: true
  48. duplication: true