forked from googleapis/google-cloud-php
-
Notifications
You must be signed in to change notification settings - Fork 0
/
appveyor.yml
32 lines (27 loc) · 835 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
clone_depth: 1
clone_folder: c:\projects\google-cloud
cache:
- vendor -> composer.json
init:
- SET PATH=c:\Program Files\OpenSSL;c:\tools\php;%PATH%
- SET COMPOSER_NO_INTERACTION=1
environment:
matrix:
- PHP_VERSION: "5.5.38-nts-Win32-VC11-x64"
- PHP_VERSION: "5.6.29-nts-Win32-VC11-x64"
- PHP_VERSION: "7.0.14-nts-Win32-VC14-x64"
- PHP_VERSION: "7.1.0-nts-Win32-VC14-x64"
install:
- cinst -y OpenSSL.Light
- ps: . .\appveyor_install_php.ps1
- cd c:\tools\php
- echo extension_dir=ext >> php.ini
- echo extension=php_openssl.dll >> php.ini
- cd c:\projects\google-cloud
- appveyor DownloadFile https://getcomposer.org/download/1.2.1/composer.phar
- php composer.phar self-update
- php composer.phar install
test_script:
- cd c:\projects\google-cloud
- vendor/bin/phpunit