Geen omschrijving

appveyor.yml 1.4KB

1234567891011121314151617181920212223242526272829303132333435363738394041
  1. build: false
  2. platform: x86
  3. clone_folder: c:\projects\webmozart\assert
  4. branches:
  5. only:
  6. - master
  7. cache:
  8. - c:\php -> appveyor.yml
  9. init:
  10. - SET PATH=c:\php;%PATH%
  11. - SET COMPOSER_NO_INTERACTION=1
  12. - SET PHP=1
  13. install:
  14. - IF EXIST c:\php (SET PHP=0) ELSE (mkdir c:\php)
  15. - cd c:\php
  16. - IF %PHP%==1 appveyor DownloadFile http://windows.php.net/downloads/releases/archives/php-7.0.0-nts-Win32-VC14-x86.zip
  17. - IF %PHP%==1 7z x php-7.0.0-nts-Win32-VC14-x86.zip -y >nul
  18. - IF %PHP%==1 del /Q *.zip
  19. - IF %PHP%==1 echo @php %%~dp0composer.phar %%* > composer.bat
  20. - IF %PHP%==1 copy /Y php.ini-development php.ini
  21. - IF %PHP%==1 echo max_execution_time=1200 >> php.ini
  22. - IF %PHP%==1 echo date.timezone="UTC" >> php.ini
  23. - IF %PHP%==1 echo extension_dir=ext >> php.ini
  24. - IF %PHP%==1 echo extension=php_curl.dll >> php.ini
  25. - IF %PHP%==1 echo extension=php_openssl.dll >> php.ini
  26. - IF %PHP%==1 echo extension=php_mbstring.dll >> php.ini
  27. - IF %PHP%==1 echo extension=php_fileinfo.dll >> php.ini
  28. - appveyor DownloadFile https://getcomposer.org/composer.phar
  29. - cd c:\projects\webmozart\assert
  30. - mkdir %APPDATA%\Composer
  31. - IF %APPVEYOR_REPO_NAME%==webmozart/assert copy /Y .composer-auth.json %APPDATA%\Composer\auth.json
  32. - composer update --prefer-dist --no-progress --ansi
  33. test_script:
  34. - cd c:\projects\webmozart\assert
  35. - vendor\bin\phpunit.bat --verbose