Skip to content

Commit

Permalink
Merge pull request #17 from asahasrabuddhe/testing
Browse files Browse the repository at this point in the history
Testing
  • Loading branch information
asahasrabuddhe authored May 12, 2018
2 parents 0e9d9a5 + 739eecc commit eac6986
Show file tree
Hide file tree
Showing 26 changed files with 5,396 additions and 78 deletions.
3 changes: 3 additions & 0 deletions .coveralls.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
coverage_clover: coverage.xml
json_path: coverage-upload.json
service_name: travis-ci
20 changes: 20 additions & 0 deletions .travis.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,20 @@
language: php
install:
composer install
php:
- 7.1
- 7.2

script:
- mkdir -p build/logs
- php vendor/bin/phpunit -c phpunit.xml --coverage-clover=coverage.xml --testdox

after_success:
- bash <(curl -s https://codecov.io/bash) -t 03ae5c0f-95ef-4671-a35b-0a9cea99f56c

after_script:
- php vendor/bin/php-coveralls -v

cache:
directories:
- vendor
10 changes: 9 additions & 1 deletion composer.json
Original file line number Diff line number Diff line change
Expand Up @@ -7,12 +7,16 @@
"email": "ajitem.s@outlook.com"
}
],
"require": {},
"autoload": {
"psr-4": {
"Asahasrabuddhe\\LaravelAPI\\": "src/"
}
},
"autoload-dev": {
"psr-4": {
"Asahasrabuddhe\\LaravelAPI\\Tests\\": "tests/"
}
},
"extra": {
"laravel": {
"providers": [
Expand All @@ -22,5 +26,9 @@
"ApiRoute": "Asahasrabuddhe\\LaravelAPI\\Facades\\ApiRoute"
}
}
},
"require-dev": {
"orchestra/testbench": "~3.6",
"php-coveralls/php-coveralls": "^2.0"
}
}
Loading

0 comments on commit eac6986

Please sign in to comment.