appveyor.yml 784 Bytes
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