Skip to content
This repository was archived by the owner on Nov 13, 2018. It is now read-only.

Commit 8e958a2

Browse files
committed
Optimize
1 parent 5d05576 commit 8e958a2

File tree

7 files changed

+372
-159
lines changed

7 files changed

+372
-159
lines changed

.gitattributes

+1
Original file line numberDiff line numberDiff line change
@@ -23,6 +23,7 @@
2323

2424
# Export ignores
2525
#tests export-ignore
26+
.github export-ignore
2627

2728
# https://github.com/github/linguist#using-gitattributes
2829
node_modules/ linguist-vendored=false

.gitignore

+6-5
Original file line numberDiff line numberDiff line change
@@ -25,6 +25,7 @@ ehthumbs.db
2525
.*~
2626
._*
2727
*.bak
28+
*.swp
2829

2930
# Recycle bin folder used by different os
3031
.Trash-*
@@ -37,8 +38,8 @@ $RECYCLE.BIN/
3738

3839
# Folder config file
3940
[Dd]esktop.ini
40-
*.DS_store
41-
.DS_store?
41+
*.DS_Store
42+
.DS_Store?
4243

4344

4445
# node packages
@@ -53,10 +54,10 @@ bower_components/
5354
.svn/
5455

5556
# composer
56-
vendor/
57+
/vendor/
5758
composer.phar
5859

59-
# project
60+
# Project
6061
phpunit.phar
6162
coveralls.phar
62-
build/
63+
/build/

README.md

+13-11
Original file line numberDiff line numberDiff line change
@@ -1,24 +1,25 @@
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
```
1617
cd path/to/this-project
1718
composer install
1819
composer 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

composer.json

+1-1
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,7 @@
1010
"require": {
1111
},
1212
"require-dev": {
13-
"phpunit/phpunit": "^6.0"
13+
"phpunit/phpunit": "^6.2"
1414
},
1515
"autoload": {
1616
"classmap": [

0 commit comments

Comments
 (0)