.appveyor.yml 1.0 KB

12345678910111213141516171819202122232425262728293031323334353637383940
  1. build: false
  2. shallow_clone: true
  3. platform: x86
  4. clone_folder: c:\projects\cocur\slugify
  5. cache:
  6. - '%LOCALAPPDATA%\Composer\files'
  7. init:
  8. - SET PATH=C:\Program Files\OpenSSL;c:\tools\php;%PATH%
  9. environment:
  10. matrix:
  11. - COMPOSER_FLAGS: ""
  12. install:
  13. - cinst -y OpenSSL.Light
  14. - cinst -y php
  15. - cd c:\tools\php
  16. - copy php.ini-production php.ini /Y
  17. - echo date.timezone="UTC" >> php.ini
  18. - echo extension_dir=ext >> php.ini
  19. - echo extension=php_openssl.dll >> php.ini
  20. - echo extension=php_mbstring.dll >> php.ini
  21. - echo extension=php_fileinfo.dll >> php.ini
  22. - echo memory_limit=1G >> php.ini
  23. - cd c:\projects\cocur\slugify
  24. - php -r "readfile('http://getcomposer.org/installer');" | php
  25. - php composer.phar update %COMPOSER_FLAGS% --no-interaction --no-progress
  26. test_script:
  27. - cd c:\projects\cocur\slugify
  28. - vendor\bin\phpunit.bat --verbose
  29. notifications:
  30. - provider: Webhook
  31. url: https://webhooks.gitter.im/e/aaf55568e4629e650616
  32. on_build_success: false
  33. on_build_failure: true
  34. on_build_status_changed: true