Skip to content

Commit 303da7e

Browse files
authored
v2 (#14)
* Clean up * Updated phpunit * Refactoring for v2 * Refectory for v2 pt2 * Required dev php7 Phpunit v6 requires php7 to run * Fancy helpers * Prioritise jobs in background * Use temp arrays to prioritise jobs * Coveralls * Coverall config * Adjusted waiting time on test * Typo fix * Removed deprecated flag * Added Coverage badge to readme * Removed psr/log suggestion * Fixed typo in composer.json
1 parent 3e77649 commit 303da7e

33 files changed

+2698
-1865
lines changed

.coveralls.yml

+3
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,3 @@
1+
service_name: travis-ci
2+
coverage_clover: clover.xml
3+
json_path: coveralls-upload.json

.gitignore

+6-1
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,10 @@
1+
.DS_Store
2+
13
/vendor
24
composer.lock
3-
.DS_Store
5+
46
/examples
57
*.old
8+
9+
# PHPUnit coverage file
10+
clover.xml

.travis.yml

+12-4
Original file line numberDiff line numberDiff line change
@@ -3,13 +3,21 @@ php:
33
- 5.6
44
- 7.0
55
- hhvm
6+
67
matrix:
78
allow_failures:
89
- php: 5.6
9-
- php: 7.0
1010
- php: hhvm
1111
fast_finish: true
12-
before_script:
13-
- composer install
12+
13+
sudo: false
14+
15+
install:
16+
- curl -s http://getcomposer.org/installer | php
17+
- php composer.phar install --no-interaction
18+
1419
script:
15-
- phpunit
20+
- php vendor/bin/phpunit -c phpunit.xml
21+
22+
after_success:
23+
- travis_retry php vendor/bin/coveralls -v

0 commit comments

Comments
 (0)