Skip to content

Commit bf6d084

Browse files
committed
Merge branch 'master' into global-loop
2 parents 9b893c3 + 8bb87db commit bf6d084

File tree

1 file changed

+45
-0
lines changed

1 file changed

+45
-0
lines changed

appveyor.yml

Lines changed: 45 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,45 @@
1+
build: false
2+
platform:
3+
- x64
4+
- x86
5+
clone_folder: c:\projects\php-project-workspace
6+
7+
## Build matrix with the different PHP versions we test against
8+
environment:
9+
matrix:
10+
- php_ver_target: 5.6
11+
- php_ver_target: 7.0
12+
- php_ver_target: 7.1
13+
14+
## Cache composer bits
15+
cache:
16+
- '%LOCALAPPDATA%\Composer\files -> composer.lock'
17+
18+
## Set up environment varriables
19+
init:
20+
- SET PATH=C:\Program Files\OpenSSL;c:\tools\php;%PATH%
21+
- SET COMPOSER_NO_INTERACTION=1
22+
- SET PHP=1
23+
- SET ANSICON=121x90 (121x90)
24+
25+
## Install PHP and composer, and run the appropriate composer command
26+
install:
27+
- IF EXIST c:\tools\php (SET PHP=0)
28+
- 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|]','')
29+
- cd c:\tools\php
30+
- IF %PHP%==1 copy php.ini-production php.ini /Y
31+
- IF %PHP%==1 echo date.timezone="UTC" >> php.ini
32+
- IF %PHP%==1 echo extension_dir=ext >> php.ini
33+
- IF %PHP%==1 echo extension=php_openssl.dll >> php.ini
34+
- IF %PHP%==1 echo extension=php_mbstring.dll >> php.ini
35+
- IF %PHP%==1 echo extension=php_fileinfo.dll >> php.ini
36+
- IF %PHP%==1 echo @php %%~dp0composer.phar %%* > composer.bat
37+
- appveyor-retry appveyor DownloadFile https://getcomposer.org/composer.phar
38+
- cd c:\projects\php-project-workspace
39+
- appveyor-retry composer install --no-progress --profile
40+
- composer show
41+
42+
## Run the actual test
43+
test_script:
44+
- cd c:\projects\php-project-workspace
45+
- vendor/bin/phpunit -c phpunit.xml.dist

0 commit comments

Comments
 (0)
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