1- ## phpUnit Testing, Travis CI and Coveralls
1+ # phpUnit Testing, Travis CI and Coveralls
22
3+ > An example repo to get start with phpUnit
34
45[ ![ Build Status] ( https://travis-ci.org/ankurk91/phpunit-travis-ci-coveralls-example.svg?branch=master )] ( https://travis-ci.org/ankurk91/phpunit-travis-ci-coveralls-example )
56[ ![ Coverage Status] ( https://coveralls.io/repos/github/ankurk91/phpunit-travis-ci-coveralls-example/badge.svg?branch=master )] ( https://coveralls.io/github/ankurk91/phpunit-travis-ci-coveralls-example?branch=master )
67[ ![ codecov] ( https://codecov.io/gh/ankurk91/phpunit-travis-ci-coveralls-example/branch/master/graph/badge.svg )] ( https://codecov.io/gh/ankurk91/phpunit-travis-ci-coveralls-example )
78
8- ### Prerequisites
9- * php v7.0+, [ requirements] ( https://phpunit.de/manual/current/en/installation.html#installation.requirements )
10- * [ phpunit ] ( https://github.com/sebastianbergmann/phpunit/ ) v5.6.0
9+ ## Prerequisites
10+ * php v7.0+, see [ requirements] ( https://phpunit.de/manual/current/en/installation.html#installation.requirements )
11+ * [ phpUnit ] ( https://github.com/sebastianbergmann/phpunit/ ) v5.6.0
1112* [ php-coveralls] ( https://github.com/satooshi/php-coveralls ) v1.0.1
1213* php [ Xdebug] ( https://xdebug.org/ ) extension v2.5.0+
1314
14- ### Test on localhost
15+ ## Test on localhost
1516```
1617cd path/to/this-project
1718composer install
1819composer run test
1920```
2021
21- #### Resources
22+ ### Resources
2223* https://docs.travis-ci.com/
2324* https://github.com/satooshi/php-coveralls
2425* http://code.tutsplus.com/tutorials/travis-ci-what-why-how--net-34771
@@ -29,11 +30,12 @@ composer run test
2930* http://codeutopia.net/blog/2011/06/30/how-to-automatically-run-unit-tests-from-a-git-push/
3031
3132
32- #### Tools/Services Links
33- * [ https://phpunit.de/ ] ( https://phpunit.de/ )
34- * [ https://travis-ci.org/ ] ( https://travis-ci.org/ )
35- * [ https://coveralls.io/ ] ( https://coveralls.io/ )
33+ ### Tools/Services Links
34+ * https://phpunit.de/
35+ * https://travis-ci.org/
36+ * https://coveralls.io/
37+ * https://codecov.io
3638
3739
38- #### License
40+ ### License
3941[ MIT] ( LICENSE.txt ) License
0 commit comments