platform: x86
clone_folder: c:\projects\tenside-core

environment:
  matrix:
  - PHPVERSION: 5.5.16
  - PHPVERSION: 5.6.3

install:
  - cinst -y ant
  - cinst -y OpenSSL.Light
  - SET PATH=C:\Program Files\OpenSSL;%PATH%
  - cinst -y php --version=%PHPVERSION%
  - cd c:\tools\php
  - copy php.ini-production php.ini
  - echo date.timezone="UTC" >> php.ini
  - echo extension_dir=ext >> php.ini
  - echo extension=php_bz2.dll >> php.ini
  - echo extension=php_curl.dll >> php.ini
  - echo extension=php_fileinfo.dll >> php.ini
  - echo extension=php_intl.dll >> php.ini
  - echo extension=php_mbstring.dll >> php.ini
  - echo extension=php_openssl.dll >> php.ini
  - SET PATH=c:\tools\php;%PATH%
  - cd c:\projects\tenside-core
  - php -r "readfile('http://getcomposer.org/installer');" | php
  - php composer.phar install --prefer-source --no-interaction

build: off

test_script:
  - cd c:\projects\tenside-core
  - vendor\bin\phpunit.bat

platform: x86
clone_folder: c:\projects\tenside-core

environment:
  matrix:
  - PHPVERSION: 5.5.16
  - PHPVERSION: 5.6.3

install:
  - cinst -y OpenSSL.Light
  - SET PATH=C:\Program Files\OpenSSL;%PATH%
  - cinst -y php --version=%PHPVERSION%
  - cd c:\tools\php
  - copy php.ini-production php.ini
  - echo date.timezone="UTC" >> php.ini
  - echo extension_dir=ext >> php.ini
  - echo extension=php_bz2.dll >> php.ini
  - echo extension=php_curl.dll >> php.ini
  - echo extension=php_fileinfo.dll >> php.ini
  - echo extension=php_intl.dll >> php.ini
  - echo extension=php_mbstring.dll >> php.ini
  - echo extension=php_openssl.dll >> php.ini
  - SET PATH=c:\tools\php;%PATH%
  - cd c:\projects\tenside-core
  - php -r "readfile('http://getcomposer.org/installer');" | php
  - php composer.phar install --prefer-source --no-interaction

build: off

test_script:
  - cd c:\projects\tenside-core
  - vendor\bin\phpunit.bat

Remove ant from installation (not needed yet)
Remove ant from installation (not needed yet)
