Skip to content

Commit

Permalink
Add circle ci
Browse files Browse the repository at this point in the history
  • Loading branch information
fukuball committed Feb 9, 2018
1 parent df70f20 commit b4a6aa0
Showing 1 changed file with 24 additions and 0 deletions.
24 changes: 24 additions & 0 deletions circle.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,24 @@
machine:
hosts:
localhost: 127.0.0.1
php:
version: 7.1.9
node:
version: 6.9.1
npm:
version: 3.10.8
yarn:
version: 0.21.3
dependencies:
pre:
- sudo composer self-update
- sudo composer install --dev --prefer-source
- mkdir -p build/logs
- pip install --user codecov
post:
- sudo ln -s /opt/circleci/.phpenv/shims/php /usr/local/bin/php
- sudo cp /opt/circleci/.phpenv/shims/php /usr/bin/php
test:
override:
- vendor/bin/phpunit --configuration phpunit.xml --colors --coverage-text --coverage-clover build/logs/clover.xml
- vendor/bin/phpcs --standard=PSR2 --extensions=php --ignore=*/test/* ./src/class

0 comments on commit b4a6aa0

Please sign in to comment.