1
- ## phpUnit Testing, Travis CI and Coveralls
1
+ # phpUnit Testing, Travis CI and Coveralls
2
2
3
+ > An example repo to get start with phpUnit
3
4
4
5
[ ![ 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 )
5
6
[ ![ 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 )
6
7
[ ![ 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 )
7
8
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
11
12
* [ php-coveralls] ( https://github.com/satooshi/php-coveralls ) v1.0.1
12
13
* php [ Xdebug] ( https://xdebug.org/ ) extension v2.5.0+
13
14
14
- ### Test on localhost
15
+ ## Test on localhost
15
16
```
16
17
cd path/to/this-project
17
18
composer install
18
19
composer run test
19
20
```
20
21
21
- #### Resources
22
+ ### Resources
22
23
* https://docs.travis-ci.com/
23
24
* https://github.com/satooshi/php-coveralls
24
25
* http://code.tutsplus.com/tutorials/travis-ci-what-why-how--net-34771
@@ -29,11 +30,12 @@ composer run test
29
30
* http://codeutopia.net/blog/2011/06/30/how-to-automatically-run-unit-tests-from-a-git-push/
30
31
31
32
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
36
38
37
39
38
- #### License
40
+ ### License
39
41
[ MIT] ( LICENSE.txt ) License
0 commit comments