Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add AppVeyor #758

Merged
merged 19 commits into from
Feb 4, 2019
Merged
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
29 changes: 29 additions & 0 deletions .appveyor.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,29 @@
clone_depth: 2
clone_folder: c:\projects\sentry-php

cache:
- composer.phar

init:
- SET PATH=c:\php;%PATH%
- SET COMPOSER_NO_INTERACTION=1
- SET SYMFONY_DEPRECATIONS_HELPER=strict
- SET ANSICON=121x90 (121x90)

install:
- mkdir c:\php && cd c:\php
- appveyor DownloadFile https://github.com/symfony/binary-utils/releases/download/v0.1/php-7.1.3-Win32-VC14-x86.zip
ste93cry marked this conversation as resolved.
Show resolved Hide resolved
- 7z x php-7.1.3-Win32-VC14-x86.zip -y >nul
- echo memory_limit=-1 >> php.ini
- echo zend_extension=php_opcache.dll >> php.ini
Jean85 marked this conversation as resolved.
Show resolved Hide resolved
- echo opcache.enable_cli=1 >> php.ini
- cd c:\projects\symfony
- IF NOT EXIST composer.phar (appveyor DownloadFile https://github.com/composer/composer/releases/download/1.8.0/composer.phar)
- php composer.phar self-update
- php composer.phar global require --no-progress --no-scripts --no-plugins hirak/prestissimo
- php composer.phar update --no-progress --no-suggest --ansi

test_script:
- SET X=0
- php phpunit || SET X=!errorlevel!
- exit %X%