-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathcircle.yml
More file actions
21 lines (21 loc) · 801 Bytes
/
circle.yml
File metadata and controls
21 lines (21 loc) · 801 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
machine:
php:
version: 7.0.7
dependencies:
cache_directories:
- "~/.composer/cache"
override:
- composer --version
- composer install --prefer-dist --no-scripts --no-progress
general:
artifacts:
- "reports"
test:
pre:
- mkdir -p reports
- mkdir -p $CIRCLE_TEST_REPORTS/phpunit
override:
- vendor/bin/php-cs-fixer fix --config=.php_cs -v --dry-run --stop-on-violation --using-cache=no --path-mode=intersection --diff
- vendor/bin/phpstan analyse --level=4 --no-progress src
- vendor/bin/phpunit --log-junit $CIRCLE_TEST_REPORTS/phpunit/junit.xml --coverage-html=reports/coverage
- vendor/bin/phpmetrics --report-html=reports/metrics --offline --template-title="JSON Patch PHP metrics" src/