forked from PHP-CS-Fixer/PHP-CS-Fixer
-
-
Notifications
You must be signed in to change notification settings - Fork 12
/
appveyor.yml
35 lines (30 loc) · 1021 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
build: off
version: dev-{build}
shallow_clone: false
clone_folder: C:\projects\php-cs-fixer
environment:
matrix:
- php_ver: 5.6.3
cache:
- '%APPDATA%\Composer'
install:
- choco install -y php -version %php_ver%
- SET PATH=C:\tools\php;%PATH%
- cd C:\tools\php
- copy php.ini-production php.ini
- echo date.timezone="UTC" >> php.ini
- echo memory_limit=512M >> php.ini
- echo extension_dir=ext >> php.ini
- echo extension=php_curl.dll >> php.ini
- echo extension=php_openssl.dll >> php.ini
- cd C:\tools
- appveyor DownloadFile https://getcomposer.org/composer.phar
- appveyor DownloadFile https://phar.phpunit.de/phpunit.phar
- git config --global github.accesstoken 5e7538aa415005c606ea68de2bbbade0409b4b8c
before_test:
- cd C:\projects\php-cs-fixer
- php C:\tools\composer.phar update --no-interaction
test_script:
- cd C:\projects\php-cs-fixer
- php C:\tools\phpunit.phar --verbose
- php php-cs-fixer --diff --dry-run -v fix