Skip to content

Commit 435b2d0

Browse files
committed
Fix appveyor build
1 parent 3e8b286 commit 435b2d0

File tree

1 file changed

+20
-21
lines changed

1 file changed

+20
-21
lines changed

appveyor.yml

+20-21
Original file line numberDiff line numberDiff line change
@@ -1,31 +1,30 @@
11
build: off
22
cache:
3-
- c:\php -> appveyor.yml
4-
- '%LOCALAPPDATA%\Composer\files -> appveyor.yml'
3+
- '%LOCALAPPDATA%\Composer\files -> appveyor.yml'
54

65
clone_folder: c:\projects\php-parallel-lint
76

87
init:
9-
- SET PATH=c:\php;%PATH%
10-
- SET INSTALL_PHP=1
11-
- SET ANSICON=121x90 (121x90)
8+
- SET PATH=c:\php;%PATH%
9+
- SET ANSICON=121x90 (121x90)
1210

1311
install:
14-
# Install PHP
15-
- IF EXIST c:\php (SET INSTALL_PHP=0) ELSE (mkdir c:\php)
16-
- IF %INSTALL_PHP%==1 cd c:\php
17-
- IF %INSTALL_PHP%==1 appveyor DownloadFile http://windows.php.net/downloads/releases/archives/php-5.6.15-nts-Win32-VC11-x86.zip
18-
- IF %INSTALL_PHP%==1 7z x php-5.6.15-nts-Win32-VC11-x86.zip >nul
19-
- IF %INSTALL_PHP%==1 del /Q *.zip
20-
- cd c:\projects\php-parallel-lint
21-
22-
# Install Composer dependencies
23-
- appveyor DownloadFile https://getcomposer.org/composer.phar
24-
- php composer.phar config disable-tls true
25-
- php composer.phar config secure-http false
26-
- php composer.phar install --no-interaction --prefer-source --no-progress
12+
- cinst -y OpenSSL.Light
13+
- SET PATH=C:\Program Files\OpenSSL;%PATH%
14+
- sc config wuauserv start= auto
15+
- net start wuauserv
16+
- cinst -y php --version 7.2.8
17+
- cd c:\tools\php72
18+
- copy php.ini-production php.ini
19+
- echo date.timezone="UTC" >> php.ini
20+
- echo extension_dir=ext >> php.ini
21+
- echo extension=php_openssl.dll >> php.ini
22+
- cd c:\projects\php-parallel-lint
23+
- SET PATH=C:\tools\php72;%PATH%
24+
- appveyor-retry appveyor DownloadFile https://getcomposer.org/composer.phar
25+
- php composer.phar install --prefer-source --no-interaction
2726

2827
test_script:
29-
- vendor\bin\tester tests -p php
30-
- php parallel-lint.php --exclude vendor --exclude tests\examples --no-colors .
31-
- php parallel-lint.php --exclude vendor --exclude tests\examples .
28+
- vendor\bin\tester tests -p php
29+
- php parallel-lint.php --exclude vendor --exclude tests\examples --no-colors .
30+
- php parallel-lint.php --exclude vendor --exclude tests\examples .

0 commit comments

Comments
 (0)