Permalink
Browse files

Enable CI of command integration tests on Windows

  • Loading branch information...
raphaelstolt committed Mar 25, 2017
1 parent d092410 commit 85bdf22b0e629fb70879ebde50143fc5862f5f49
Showing with 41 additions and 0 deletions.
  1. +39 −0 .appveyor.yml
  2. +1 −0 .gitattributes
  3. +1 −0 README.md
View
@@ -0,0 +1,39 @@
build: false
clone_depth: 1
platform: x86
environment:
matrix:
- PHP_DOWNLOAD_FILE: php-5.6.29-nts-Win32-VC11-x86.zip
cache:
- c:\php -> .appveyor.yml
- '%LOCALAPPDATA%\Composer'
init:
- SET PATH=c:\php;%PATH%
- SET COMPOSER_NO_INTERACTION=1
- SET PHP=1
- SET ANSICON=121x90 (121x90)
- git config --global core.autocrlf input
install:
- IF EXIST c:\php (SET PHP=0) ELSE (mkdir c:\php)
- cd c:\php
- IF %PHP%==1 appveyor DownloadFile http://windows.php.net/downloads/releases/archives/%PHP_DOWNLOAD_FILE%
- IF %PHP%==1 7z x %PHP_DOWNLOAD_FILE% -y > 7z.log
- IF %PHP%==1 echo @php %%~dp0composer.phar %%* > composer.bat
- appveyor DownloadFile https://getcomposer.org/composer.phar
- copy php.ini-production php.ini /Y
- echo date.timezone="UTC" >> php.ini
- echo extension_dir=ext >> php.ini
- echo extension=php_openssl.dll >> php.ini
- echo extension=php_curl.dll >> php.ini
- echo extension=php_mbstring.dll >> php.ini
- echo extension=php_fileinfo.dll >> php.ini
- cd %APPVEYOR_BUILD_FOLDER%
- composer update --no-progress --ansi
test_script:
- cd %APPVEYOR_BUILD_FOLDER%
- composer lpv:test
View
@@ -1,5 +1,6 @@
* text=auto eol=lf
.appveyor.yml export-ignore
.ctl.cache export-ignore
.editorconfig export-ignore
.gitattributes export-ignore
View
@@ -1,5 +1,6 @@
# LeanPackageValidator
[![Build Status](https://secure.travis-ci.org/raphaelstolt/lean-package-validator.png)](http://travis-ci.org/raphaelstolt/lean-package-validator)
[![Build Status](https://ci.appveyor.com/api/projects/status/github/raphaelstolt/lean-package-validator?svg=true)](https://ci.appveyor.com/api/projects/status/github/raphaelstolt/lean-package-validator)
[![Version](http://img.shields.io/packagist/v/stolt/lean-package-validator.svg?style=flat)](https://packagist.org/packages/stolt/lean-package-validator)
![PHP Version](http://img.shields.io/badge/php-5.6+-ff69b4.svg)
[![composer.lock available](https://poser.pugx.org/stolt/lean-package-validator/composerlock)](https://packagist.org/packages/stolt/lean-package-validator)

0 comments on commit 85bdf22

Please sign in to comment.