forked from cakephp/chronos
-
Notifications
You must be signed in to change notification settings - Fork 0
/
appveyor.yml
32 lines (27 loc) · 784 Bytes
/
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
build: false
shallow_clone: false
platform: 'x86'
clone_folder: c:\projects\chronos
branches:
only:
- master
environment:
global:
PHP: "C:/PHP"
init:
- SET PATH=C:\php\;%PATH%
install:
- cd c:\
- appveyor DownloadFile http://windows.php.net/downloads/releases/archives/php-5.5.10-nts-Win32-VC11-x86.zip -FileName php.zip
- 7z x php.zip -oc:\php
- cd c:\php
- copy php.ini-production php.ini
- echo date.timezone="UTC" >> php.ini
- echo extension_dir=ext >> php.ini
- echo extension=php_openssl.dll >> php.ini
- cd C:\projects\chronos
- appveyor DownloadFile https://getcomposer.org/composer.phar
- php composer.phar install --prefer-dist --no-interaction --ansi --no-progress
test_script:
- cd C:\projects\chronos
- vendor\bin\phpunit.bat