Checkout Config
build:
environment:
php:
version: 7.0.8
dependencies:
override:
- find . -delete
- git clone https://github.com/octobercms/october.git .
- composer install --no-interaction --prefer-source
- mkdir -p ./plugins/vojtasvoboda/reservations
- cd plugins/vojtasvoboda/reservations && git clone https://github.com/vojtasvoboda/oc-reservations-plugin.git .
- composer install
tests:
override:
-
command: 'phpunit --coverage-clover=coverage'
coverage:
file: './plugins/vojtasvoboda/reservations/coverage'
format: 'php-clover'
checks:
php:
code_rating: true
duplication: true
Repository Config
# language: php
# tests: true