Skip to content

Instantly share code, notes, and snippets.

@assertchris
Last active August 29, 2015 14:15
Show Gist options
  • Save assertchris/927dc82c96df4b9f9c5b to your computer and use it in GitHub Desktop.
Save assertchris/927dc82c96df4b9f9c5b to your computer and use it in GitHub Desktop.
.ci.yml
scrutinizer:
inherit: true
tools:
external_code_coverage: true
checks:
php:
code_rating: true
duplication: true
filter:
paths: [src/*, tests/*]
travis:
language: php
php:
- 5.4
- 5.5
- 5.6
before_script:
- composer self-update
- composer install --no-interaction --prefer-dist
script:
- vendor/bin/phpunit --coverage-clover coverage.clover
- wget https://scrutinizer-ci.com/ocular.phar
- php ocular.phar code-coverage:upload --format=php-clover coverage.clover
branches:
only:
- master
codeception:
config:
PhpBrowser:
url: 'http://myappurl.local'
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment