forked from matthiasmullie/minify
-
Notifications
You must be signed in to change notification settings - Fork 0
/
appveyor.yml
30 lines (24 loc) · 803 Bytes
/
appveyor.yml
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
28
29
30
build: false
shallow_clone: false
platform:
- x86
- x64
cache:
- C:\Program Files\OpenSSL -> appveyor.yml
- C:\tools\php -> appveyor.yml
- vendor -> composer.json
init:
- SET PATH=C:\Program Files\OpenSSL;C:\tools\php;%PATH%
install:
# install ssl
- IF NOT EXIST "C:\Program Files\OpenSSL" (cinst -y OpenSSL.Light)
# install php
- IF NOT EXIST C:\tools\php (cinst -y php)
- echo extension_dir=ext > C:\tools\php\php.ini
- echo extension=php_openssl.dll >> C:\tools\php\php.ini
- echo extension=php_mbstring.dll >> C:\tools\php\php.ini
# install composer
- IF NOT EXIST vendor (php -r "readfile('https://getcomposer.org/installer');" | php & php composer.phar --prefer-source install)
- tests\convert_symlinks_to_windows_style.sh
test_script:
- vendor\bin\phpunit