File tree Expand file tree Collapse file tree 2 files changed +29
-0
lines changed Expand file tree Collapse file tree 2 files changed +29
-0
lines changed Original file line number Diff line number Diff line change 1+ build : off
2+ cache :
3+ - c:\php -> appveyor.yml
4+ - ' %LOCALAPPDATA%\Composer\files -> appveyor.yml'
5+
6+ clone_folder : c:\projects\http
7+
8+ init :
9+ - SET PATH=c:\php;%PATH%
10+ - SET PHP=1
11+
12+ install :
13+ # Install PHP
14+ - IF EXIST c:\php (SET PHP=0) ELSE (mkdir c:\php)
15+ - IF %PHP%==1 cd c:\php
16+ - IF %PHP%==1 appveyor DownloadFile http://windows.php.net/downloads/releases/php-5.6.15-Win32-VC11-x86.zip
17+ - IF %PHP%==1 7z x php-5.6.15-Win32-VC11-x86.zip >nul
18+ - IF %PHP%==1 echo extension_dir=ext >> php.ini
19+ - IF %PHP%==1 echo extension=php_openssl.dll >> php.ini
20+ - IF %PHP%==1 del /Q *.zip
21+ - cd c:\projects\http
22+
23+ # Install Nette Tester
24+ - appveyor DownloadFile https://getcomposer.org/composer.phar
25+ - php composer.phar install --prefer-dist --no-interaction --no-progress --ansi
26+
27+ test_script :
28+ - vendor\bin\tester tests -s -c tests\php-win.ini
Original file line number Diff line number Diff line change @@ -3,6 +3,7 @@ Nette HTTP Component
33
44[ ![ Downloads this Month] ( https://img.shields.io/packagist/dm/nette/http.svg )] ( https://packagist.org/packages/nette/http )
55[ ![ Build Status] ( https://travis-ci.org/nette/http.svg?branch=master )] ( https://travis-ci.org/nette/http )
6+ [ ![ Build Status Windows] ( https://ci.appveyor.com/api/projects/status/github/nette/http?branch=master&svg=true )] ( https://ci.appveyor.com/project/nette/http/branch/master )
67[ ![ Latest Stable Version] ( https://poser.pugx.org/nette/http/v/stable )] ( https://github.com/nette/http/releases )
78[ ![ License] ( https://img.shields.io/badge/license-New%20BSD-blue.svg )] ( https://github.com/nette/http/blob/master/license.md )
89
You can’t perform that action at this time.
0 commit comments