forked from KnpLabs/Gaufrette
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathappveyor.yml
38 lines (33 loc) · 1015 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
33
34
35
36
37
38
build: false
platform: 'x86'
clone_folder: C:\projects\gaufrette
branches:
except:
- gh-pages
cache:
- '%LOCALAPPDATA%\Composer\files'
environment:
AWS_KEY:
secure: nMVfvhojgVc9VBlrYXeddaYIQHlVAlupWmxNjXMlsB0=
AWS_SECRET:
secure: MiAf2q7mnqSIZSoChd9v3pwUrXHeAEpZP8Zc0E0qjiOBXPvplzJVtrkWRwTNlQl3
AWS_BUCKET: gaufretteci
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 vendor\bin\phpspec.bat run -fpretty --verbose
- php vendor\bin\phpunit.bat