Skip to content

Commit

Permalink
Adding Code Climate CI
Browse files Browse the repository at this point in the history
  • Loading branch information
arcanedev-maroc committed Jan 11, 2016
1 parent ca625a6 commit d771c81
Show file tree
Hide file tree
Showing 3 changed files with 23 additions and 5 deletions.
13 changes: 13 additions & 0 deletions .codeclimate.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,13 @@
languages:
PHP: true

exclude_paths:
- "spec/*"
- "vendor/*"
- "tests/*"

engines:
phpcodesniffer:
enabled: true
phpmd:
enabled: true
11 changes: 6 additions & 5 deletions composer.json
Original file line number Diff line number Diff line change
Expand Up @@ -14,13 +14,14 @@
"type": "library",
"license": "MIT",
"require": {
"php" : ">=5.5.9",
"arcanedev/support": "~3.0"
"php" : ">=5.5.9",
"arcanedev/support": "~3.0"
},
"require-dev": {
"orchestra/testbench": "~3.1.0",
"phpunit/phpcov": "~2.0",
"phpunit/phpunit": "~4.0|~5.0"
"orchestra/testbench": "~3.1.0",
"phpunit/phpcov": "~2.0",
"phpunit/phpunit": "~4.0|~5.0",
"codeclimate/php-test-reporter": "^0.2"
},
"autoload": {
"psr-4": {
Expand Down
4 changes: 4 additions & 0 deletions phpunit.xml
Original file line number Diff line number Diff line change
Expand Up @@ -18,6 +18,10 @@
<filter>
<whitelist>
<directory suffix=".php">./src/</directory>
<exclude>
<directory>./vendor/</directory>
<directory>./tests/</directory>
</exclude>
</whitelist>
</filter>
<logging>
Expand Down

0 comments on commit d771c81

Please sign in to comment.