From 378efec0573f150e6b4032025308e0f8cd1a0cf2 Mon Sep 17 00:00:00 2001 From: Cees-Jan Kiewiet Date: Wed, 8 Feb 2017 21:50:42 +0100 Subject: [PATCH 1/2] AppVeyor configuration --- appveyor.yml | 46 ++++++++++++++++++++++++++++++++++++++++++++++ 1 file changed, 46 insertions(+) create mode 100644 appveyor.yml diff --git a/appveyor.yml b/appveyor.yml new file mode 100644 index 00000000..ad64e60a --- /dev/null +++ b/appveyor.yml @@ -0,0 +1,46 @@ +build: false +platform: + - x64 + - x86 +clone_folder: c:\projects\php-project-workspace + + +## Build matrix with the different PHP versions we test against +environment: + matrix: + - php_ver_target: 5.6 + - php_ver_target: 7.0 + - php_ver_target: 7.1 + +## Cache composer bits +cache: + - '%LOCALAPPDATA%\Composer\files -> composer.lock' + +## Set up environment varriables +init: + - SET PATH=C:\Program Files\OpenSSL;c:\tools\php;%PATH% + - SET COMPOSER_NO_INTERACTION=1 + - SET PHP=1 + - SET ANSICON=121x90 (121x90) + +## Install PHP and composer, and run the appropriate composer command +install: + - IF EXIST c:\tools\php (SET PHP=0) + - ps: appveyor-retry cinst --ignore-checksums -y php --version ((choco search php --exact --all-versions -r | select-string -pattern $Env:php_ver_target | Select-Object -first 1) -replace '[php|]','') + - cd c:\tools\php + - IF %PHP%==1 copy php.ini-production php.ini /Y + - IF %PHP%==1 echo date.timezone="UTC" >> php.ini + - IF %PHP%==1 echo extension_dir=ext >> php.ini + - IF %PHP%==1 echo extension=php_openssl.dll >> php.ini + - IF %PHP%==1 echo extension=php_mbstring.dll >> php.ini + - IF %PHP%==1 echo extension=php_fileinfo.dll >> php.ini + - IF %PHP%==1 echo @php %%~dp0composer.phar %%* > composer.bat + - appveyor-retry appveyor DownloadFile https://getcomposer.org/composer.phar + - cd c:\projects\php-project-workspace + - appveyor-retry composer install --no-progress --profile + - composer show + +## Run the actual test +test_script: + - cd c:\projects\php-project-workspace + - vendor/bin/phpunit -c phpunit.xml.dist From c2434cf79f292c23d36fb6918e1b6da3ea87cef8 Mon Sep 17 00:00:00 2001 From: Cees-Jan Kiewiet Date: Thu, 9 Feb 2017 12:39:09 +0100 Subject: [PATCH 2/2] Removed extra white space --- appveyor.yml | 1 - 1 file changed, 1 deletion(-) diff --git a/appveyor.yml b/appveyor.yml index ad64e60a..decd0750 100644 --- a/appveyor.yml +++ b/appveyor.yml @@ -4,7 +4,6 @@ platform: - x86 clone_folder: c:\projects\php-project-workspace - ## Build matrix with the different PHP versions we test against environment: matrix: pFad - Phonifier reborn

Pfad - The Proxy pFad of © 2024 Garber Painting. All rights reserved.

Note: This service is not intended for secure transactions such as banking, social media, email, or purchasing. Use at your own risk. We assume no liability whatsoever for broken pages.


Alternative Proxies:

Alternative Proxy

pFad Proxy

pFad v3 Proxy

pFad v4 Proxy