Checkout Config
build:
environment:
php:
version: 5.6.16
ini:
'short_open_tag': 'On'
memcached: true
dependencies:
# Runs before inferred commands
before: []
# Overwrites inferred commands
override: []
# Runs after inferred commands
after: []
# Run after dependencies
project_setup:
after:
- rm -rf *
- git clone https://github.com/nafigator/Veles.git
- cd Veles
- git checkout $SCRUTINIZER_BRANCH
- git submodule add -f --name tests https://github.com/nafigator/Veles-unit-tests.git Tests
- wget -q -O phpunit.phar https://phar.phpunit.de/phpunit.phar
- chmod 755 phpunit.phar
tests:
override:
-
command: ./phpunit.phar -c Tests/scrutinizer-phpunit.xml --stderr --coverage-clover '../coverage-report'
coverage:
file: coverage-report
format: php-clover
- phpcs-run
checks:
php: true
filter:
excluded_paths:
- Tests/*