Composer, coveralls, badges, travis too!
This commit is contained in:
parent
695519a16a
commit
cbd0698fab
4 changed files with 22 additions and 5 deletions
1
.coveralls.yml
Normal file
1
.coveralls.yml
Normal file
|
@ -0,0 +1 @@
|
||||||
|
service_name: travis-ci
|
|
@ -1,9 +1,6 @@
|
||||||
language: php
|
language: php
|
||||||
|
|
||||||
php:
|
php:
|
||||||
- 5.0
|
|
||||||
- 5.1
|
|
||||||
- 5.2
|
|
||||||
- 5.3
|
- 5.3
|
||||||
- 5.4
|
- 5.4
|
||||||
- 5.5
|
- 5.5
|
||||||
|
@ -15,12 +12,15 @@ matrix:
|
||||||
- php: 5.6
|
- php: 5.6
|
||||||
- php: hhvm
|
- php: hhvm
|
||||||
|
|
||||||
|
install:
|
||||||
|
- composer install
|
||||||
|
|
||||||
before_script:
|
before_script:
|
||||||
- mkdir -p build/logs
|
- mkdir -p build/logs
|
||||||
- cd tests
|
- cd tests
|
||||||
|
|
||||||
script:
|
script:
|
||||||
- phpunit --colors --coverage-clover /home/travis/build/joshtronic/php-loremipsum/build/logs/clover.xml ./tests
|
- phpunit --colors --coverage-clover /home/travis/build/joshtronic/php-loremipsum/build/logs/clover.xml .
|
||||||
|
|
||||||
after_success:
|
after_success:
|
||||||
- php vendor/bin/coveralls --config ../.coveralls.yml -v
|
- php vendor/bin/coveralls --config ../.coveralls.yml -v
|
||||||
|
|
|
@ -1,4 +1,4 @@
|
||||||
# php-loremipsum [](https://travis-ci.org/joshtronic/php-loremipsum)
|
# php-loremipsum [](https://travis-ci.org/joshtronic/php-loremipsum) [](https://coveralls.io/r/joshtronic/php-loremipsum)
|
||||||
|
|
||||||
Lorem ipsum generator in PHP without dependencies.
|
Lorem ipsum generator in PHP without dependencies.
|
||||||
|
|
||||||
|
|
16
composer.json
Normal file
16
composer.json
Normal file
|
@ -0,0 +1,16 @@
|
||||||
|
{
|
||||||
|
"name": "joshtronic/php-loremipsum",
|
||||||
|
"description": "Lorem ipsum generator in PHP without dependencies",
|
||||||
|
"license": "MIT",
|
||||||
|
"authors": [{
|
||||||
|
"name": "Josh Sherman",
|
||||||
|
"email": "josh@gravityblvd.com",
|
||||||
|
"homepage": "https://github.com/joshtronic/php-loremipsum"
|
||||||
|
}],
|
||||||
|
"autoload": {
|
||||||
|
"classmap": ["src/"]
|
||||||
|
},
|
||||||
|
"require-dev": {
|
||||||
|
"satooshi/php-coveralls": "dev-master"
|
||||||
|
},
|
||||||
|
}
|
Loading…
Add table
Add a link
Reference in a new issue