summaryrefslogtreecommitdiffstats
path: root/vendor/paragonie/sodium_compat/appveyor.yml
blob: 9621e9abc80b49161bf7de24f47a76ddf36e4654 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
build: false
shallow_clone: false
platform:
  - x86
  - x64
clone_folder: C:\projects\sodium_compat
image: Visual Studio 2017

install:
  - cinst -y OpenSSL.Light
  - SET PATH=C:\Program Files\OpenSSL;%PATH%
  - sc config wuauserv start= auto
  - net start wuauserv
  - cinst -y php --version 5.6.30
  - cd c:\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
  - cd C:\projects\sodium_compat
  - SET PATH=C:\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:\projects\sodium_compat
  - vendor\bin\phpunit.bat tests/Windows32Test.php