-
Notifications
You must be signed in to change notification settings - Fork 1
/
appveyor.yml
48 lines (42 loc) · 1.5 KB
/
appveyor.yml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
build: false
shallow_clone: true
platform: x86
clone_folder: c:\projects\crontab
branches:
only:
- master
environment:
matrix:
- PHP_DOWNLOAD_FILE: php-5.6.14-nts-Win32-VC11-x86.zip
PHP_VERSION: 5.6.14
cache:
- c:\php -> appveyor.yml
- '%APPDATA%\Composer'
init:
- SET PATH=c:\php;%PATH%
- SET COMPOSER_NO_INTERACTION=1
- SET PHP=1
- SET ANSICON=121x90 (121x90)
- git config --global core.autocrlf input
install:
- IF EXIST c:\php (SET PHP=0) ELSE (mkdir c:\php)
- cd c:\php
- IF %PHP%==1 appveyor DownloadFile http://windows.php.net/downloads/releases/archives/%PHP_DOWNLOAD_FILE%
- IF %PHP%==1 7z x %PHP_DOWNLOAD_FILE% -y > 7z.log
- IF %PHP%==1 echo @php %%~dp0composer.phar %%* > composer.bat
- appveyor DownloadFile https://getcomposer.org/composer.phar
- copy php.ini-production php.ini /Y
- echo date.timezone="UTC" >> php.ini
- echo extension_dir=ext >> php.ini
- echo extension=php_openssl.dll >> php.ini
- echo extension=php_curl.dll >> php.ini
- echo extension=php_mbstring.dll >> php.ini
- echo extension=php_fileinfo.dll >> php.ini
- cd c:\projects\crontab
- SET COMPOSER_ROOT_VERSION=dev-master
- composer update --no-progress --ansi
- appveyor DownloadFile http://www.phing.info/get/phing-latest.phar
test_script:
- cd c:\projects\crontab
- php phing-latest.phar continous -Ddeps=normal -Dcitool=appveyor -Dphpversion=%PHP_VERSION% -Dcoveralls=$COVERALLS
- echo %errorlevel%