File: appveyor.yml

Recommend this page to a friend!
  Classes of Kamil  >  PHP REST Client Framework Control  >  appveyor.yml  >  Download  
File: appveyor.yml
Role: Auxiliary data
Content type: text/plain
Description: Auxiliary data
Class: PHP REST Client Framework Control
Testing and validating REST services
Author: By
Last change:
Date: 3 years ago
Size: 1,209 bytes
 

Contents

Class file image Download
build: false
shallow_clone: true
platform: 'x86'

init:
    - SET PATH=C:\Program Files\OpenSSL;c:\tools\php71;%PATH%
    - SET COMPOSER_NO_INTERACTION=1
    - SET PHP=1
    - SET ANSICON=121x90 (121x90)

install:
    - ps: Set-Service wuauserv -StartupType Manual
    - IF %PHP%==1 cinst -y OpenSSL.Light
    - SET PATH=C:\Program Files\OpenSSL;%PATH%
    - cinst -y curl
    - SET PATH=C:\Program Files\curl;%PATH%
    - IF EXIST c:\tools\php71 (SET PHP=0)
    - IF %PHP%==1 cinst -y php --version 7.1.14
    - IF %PHP%==1 cd c:\tools\php71
    - IF %PHP%==1 copy php.ini-production 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 date.timezone="UTC" >> php.ini
    - IF %PHP%==1 echo extension=php_mbstring.dll >> php.ini
    - IF %PHP%==1 echo extension=php_curl.dll >> php.ini
    - SET PATH=C:\tools\php71;%PATH%
    - cd %APPVEYOR_BUILD_FOLDER%
    - appveyor DownloadFile https://getcomposer.org/composer.phar
    - php composer.phar install --prefer-dist -n --no-ansi
    - appveyor DownloadFile https://phar.phpunit.de/phpunit-6.phar
test_script:
    - cd %APPVEYOR_BUILD_FOLDER%
    - php phpunit-6.phar

For more information send a message to info at phpclasses dot org.