Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Add appveyor.yml for C.I. on Windows
- Loading branch information
1 parent
d6d93dd
commit 7b474b0
Showing
1 changed file
with
34 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,34 @@ | ||
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 | ||
- ps: Start-FileDownload 'https://getcomposer.org/composer.phar' | ||
- cd C:\projects\symfony | ||
- php c:\php\composer.phar 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 | ||
- php c:\php\composer.phar remove --no-update symfony/yaml | ||
- php c:\php\composer.phar install --prefer-dist --no-progress | ||
test_script: | ||
- cd C:\projects\symfony | ||
- php phpunit/phpunit-4.7/phpunit |