mirror of
https://github.com/matthiasmullie/minify.git
synced 2025-02-21 15:15:46 +01:00
Add appveyor, for CI on Windows
This commit is contained in:
parent
ea2512a67c
commit
0af40ce217
1
.gitattributes
vendored
1
.gitattributes
vendored
@ -4,6 +4,7 @@
|
||||
/.gitattributes export-ignore
|
||||
/.gitignore export-ignore
|
||||
/.travis.yml export-ignore
|
||||
/appveyor.yml export-ignore
|
||||
/makefile export-ignore
|
||||
/phpunit.xml.dist export-ignore
|
||||
/README.md export-ignore
|
||||
|
28
appveyor.yml
Normal file
28
appveyor.yml
Normal file
@ -0,0 +1,28 @@
|
||||
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
|
||||
# install composer
|
||||
- IF NOT EXIST vendor (php -r "readfile('https://getcomposer.org/installer');" | php & php composer.phar --prefer-source install)
|
||||
|
||||
test_script:
|
||||
- vendor\bin\phpunit
|
Loading…
x
Reference in New Issue
Block a user