build: environment: mongodb: true dependencies: before: - mongo test --eval 'use test; db.createUser({ user:"liquidbox", pwd:"liquidbox", roles:[ "readWrite" ] }); db.createUser({ user:"ro_user", pwd:"password", roles:[ "read" ] });' tests: override: - command: vendor/bin/phpunit --coverage-clover=coverage.xml coverage: file: coverage.xml format: clover nodes: 'PHP 5.5': environment: php: '5.5' 'PHP 5.6': environment: php: '5.6' 'PHP 7.0': environment: php: '7.0' 'PHP 7.1': environment: php: '7.1' HHVM: environment: php: hhvm tests: override: - vendor/bin/phpunit filter: excluded_paths: - tests/ checks: php: code_rating: true duplication: true tools: php_code_sniffer: enabled: true config: standard: PSR2 php_code_coverage: true
# language: php # tests: true