build: false
platform: 'x86'
clone_folder: C:\projects\gaufrette
branches:
  except:
    - gh-pages

cache:
  - '%LOCALAPPDATA%\Composer\files'

init:
  - SET PATH=C:\Program Files\OpenSSL;c:\tools\php;%PATH%

install:
  - cinst -y OpenSSL.Light
  - cinst -y php -version 5.6.17
  - cd c:\tools\php
  - copy php.ini-production php.ini /Y
  - echo extension_dir=ext >> php.ini
  - echo date.timezone="UTC" >> php.ini
  - echo extension=php_openssl.dll >> php.ini
  - echo date.timezone="UTC" >> php.ini
  - cd C:\projects\gaufrette
  - php -r "readfile('http://getcomposer.org/installer');" | php
  - php composer.phar install --prefer-source --no-interaction --ignore-platform-reqs
  - php -m
  - php -i

test_script:
  - cd C:\projects\gaufrette
  - php bin\phpspec.bat run -fpretty --verbose
  - php bin\phpunit.bat
build: false
platform: 'x86'
clone_folder: C:\projects\gaufrette
branches:
  except:
    - gh-pages

cache:
  - '%LOCALAPPDATA%\Composer\files'

init:
  - SET PATH=C:\Program Files\OpenSSL;c:\tools\php;%PATH%

install:
  - cinst -y OpenSSL.Light
  - cinst --allow-empty-checksums -y php -version 5.6.17
  - cd c:\tools\php
  - copy php.ini-production php.ini /Y
  - echo extension_dir=ext >> php.ini
  - echo date.timezone="UTC" >> php.ini
  - echo extension=php_openssl.dll >> php.ini
  - cd C:\projects\gaufrette
  - php -r "readfile('http://getcomposer.org/installer');" | php
  - php composer.phar install --prefer-source --no-interaction --ignore-platform-reqs
  - php -m
  - php -i

test_script:
  - cd C:\projects\gaufrette
  - php bin\phpspec.bat run -fpretty --verbose
  - php bin\phpunit.bat

Disable checksum verification when installing php
Disable checksum verification when installing php
