Skip to content

Commit

Permalink
Add appveyor.yml for C.I. on Windows
Browse files Browse the repository at this point in the history
  • Loading branch information
nicolas-grekas committed Aug 18, 2015
1 parent d6d93dd commit 2197a23
Showing 1 changed file with 35 additions and 0 deletions.
35 changes: 35 additions & 0 deletions appveyor.yml
@@ -0,0 +1,35 @@
build: false
shallow_clone: false
platform: 'x86'
clone_folder: c:\projects\symfony
environment:
global:
PHP: "C:/PHP"
init:
- SET PATH=C:\php\;%PATH%
install:
- cd c:\
- ps: Start-FileDownload 'http://ci.cakephp.org/php.zip'
- 7z x php.zip -oc:\php
- cd c:\php
- 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
- echo extension=php_intl.dll >> php.ini
- echo extension=php_mbstring.dll >> php.ini
- echo extension=php_fileinfo.dll >> php.ini
- php -r "readfile('https://getcomposer.org/installer');" | php
- echo @php "%~dp0composer.phar" %*>composer.bat
- cd C:\projects\symfony
- composer install --prefer-dist --no-progress
- mkdir phpunit
- cd phpunit
- ps: Start-FileDownload 'https://github.com/sebastianbergmann/phpunit/archive/4.7.zip'
- 7z x 4.7.zip
- cd phpunit-4.7
- composer remove --no-update symfony/yaml
- composer install --prefer-dist --no-progress
test_script:
- cd C:\projects\symfony
- php phpunit/phpunit-4.7/phpunit

0 comments on commit 2197a23

Please sign in to comment.