Skip to content

Commit 3f7cbdd

Browse files
committed
Initial tests
1 parent 2e960e0 commit 3f7cbdd

11 files changed

+2886
-9
lines changed

.coveralls.yml

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

.gitignore

+3
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,3 @@
1+
.idea
2+
vendor/
3+
*.cache

.travis.yml

+12
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,12 @@
1+
language: php
2+
dist: trusty
3+
php:
4+
- '7.1'
5+
- '7.2'
6+
- '7.3'
7+
install:
8+
- composer update
9+
script:
10+
- ./vendor/bin/phpunit --coverage-clover ./tests/Logs/clover.xml
11+
after_script:
12+
- php vendor/bin/php-coveralls -v

composer.json

+6
Original file line numberDiff line numberDiff line change
@@ -15,6 +15,12 @@
1515
"divineomega/php-cli-progress-bar": "^2.0",
1616
"nesbot/carbon": "^2.27"
1717
},
18+
"require-dev": {
19+
"phpunit/phpunit": "^7.0||^8.0",
20+
"fzaninotto/faker": "^1.6",
21+
"php-coveralls/php-coveralls": "^2.0",
22+
"cache/array-adapter": "^1.0"
23+
},
1824
"autoload": {
1925
"psr-4": {
2026
"DivineOmega\\FileSync\\": "src/"

0 commit comments

Comments
 (0)