build: false
shallow_clone: false
platform:
  - x86
  - x64
clone_folder: C:\Branda_Vendor\projects\phpseclib

install:
  - cinst -y OpenSSL.Light
  - SET PATH=C:\Program Branda_Vendor\Files\OpenSSL;%PATH%
  - sc config wuauserv start= auto
  - net start wuauserv
  - cinst -y php --version 5.6.30
  - cd c:\Branda_Vendor\tools\php56
  - copy php.ini-production php.ini
  - echo date.timezone="UTC" >> php.ini
  - echo extension_dir=ext >> php.ini
  - echo extension=php_openssl.dll >> php.ini
  - echo extension=php_gmp.dll >> php.ini
  - cd C:\Branda_Vendor\projects\phpseclib
  - SET PATH=C:\Branda_Vendor\tools\php56;%PATH%
  - php.exe -r "readfile('http://getcomposer.org/installer');" | php.exe
  - php.exe composer.phar install --prefer-source --no-interaction

test_script:
  - cd C:\Branda_Vendor\projects\phpseclib
  - Branda_Vendor\vendor\bin\phpunit.bat tests/Windows32Test.php