appveyor.yml 762 B

123456789101112131415161718192021222324252627
  1. build: false
  2. shallow_clone: false
  3. platform:
  4. - x86
  5. - x64
  6. clone_folder: C:\projects\sodium_compat
  7. install:
  8. - cinst -y OpenSSL.Light
  9. - SET PATH=C:\Program Files\OpenSSL;%PATH%
  10. - sc config wuauserv start= auto
  11. - net start wuauserv
  12. - cinst -y php --version 5.6.30
  13. - cd c:\tools\php56
  14. - copy php.ini-production php.ini
  15. - echo date.timezone="UTC" >> php.ini
  16. - echo extension_dir=ext >> php.ini
  17. - echo extension=php_openssl.dll >> php.ini
  18. - cd C:\projects\sodium_compat
  19. - SET PATH=C:\tools\php56;%PATH%
  20. - php.exe -r "readfile('http://getcomposer.org/installer');" | php.exe
  21. - php.exe composer.phar install --prefer-source --no-interaction
  22. test_script:
  23. - cd C:\projects\sodium_compat
  24. - vendor\bin\phpunit.bat tests/Windows32Test.php