forked from PHP-CS-Fixer/PHP-CS-Fixer
-
Notifications
You must be signed in to change notification settings - Fork 0
/
circle.yml
27 lines (24 loc) · 877 Bytes
/
circle.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
machine:
xcode:
version: 8.2
checkout:
pre:
- system_profiler SPSoftwareDataType
dependencies:
cache_directories:
- ~/.composer
- ~/Library/Caches/Homebrew
pre:
- brew update
- brew tap homebrew/homebrew-php
- brew install php71
- mkdir $(brew --prefix)/etc/php/7.1/conf.d
- echo "memory_limit = 512M" > $(brew --prefix)/etc/php/7.1/conf.d/memory.ini
- curl -sS https://getcomposer.org/installer | php
- php composer.phar global show hirak/prestissimo -q || php composer.phar global require --no-interaction --no-progress --optimize-autoloader hirak/prestissimo
override:
- php composer.phar install --no-interaction --no-progress
test:
override:
- vendor/bin/phpunit
- PHP_CS_FIXER_FUTURE_MODE=1 php php-cs-fixer --diff --dry-run -v fix