-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
0 parents
commit 826af37
Showing
5 changed files
with
104 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,3 @@ | ||
/vendor/ | ||
/.*/ | ||
/composer.lock |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,36 @@ | ||
notifications: | ||
email: false | ||
|
||
sudo: false | ||
|
||
language: php | ||
|
||
php: | ||
- 5.5 | ||
- 5.6 | ||
- 7.0 | ||
- 7.1 | ||
|
||
env: | ||
matrix: | ||
- | ||
- DEPENDENCIES=--prefer-lowest | ||
|
||
matrix: | ||
fast_finish: true | ||
|
||
cache: | ||
directories: | ||
- .composer/cache | ||
|
||
install: | ||
- alias composer=composer\ -n && composer selfupdate | ||
- composer validate | ||
- composer update $DEPENDENCIES | ||
|
||
script: | ||
- composer test -- --coverage-clover=build/logs/clover.xml | ||
|
||
after_success: | ||
- composer require satooshi/php-coveralls | ||
- vendor/bin/coveralls -v |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,22 @@ | ||
FileConnector | ||
============= | ||
|
||
[![Latest version][Version image]][Releases] | ||
[![Total downloads][Downloads image]][Downloads] | ||
[![Build status][Build image]][Build] | ||
[![Test coverage][Coverage image]][Coverage] | ||
[![Code style][Style image]][Style] | ||
|
||
Provides a local filesystems connector for Porter. | ||
|
||
|
||
[Releases]: https://github.com/Porter-connectors/FileConnector/releases | ||
[Version image]: https://poser.pugx.org/connectors/file/version "Latest version" | ||
[Downloads]: https://packagist.org/packages/connectors/file | ||
[Downloads image]: https://poser.pugx.org/connectors/file/downloads "Total downloads" | ||
[Build]: https://travis-ci.org/Porter-connectors/FileConnector | ||
[Build image]: https://travis-ci.org/Porter-connectors/FileConnector.svg?branch=master "Build status" | ||
[Coverage]: https://coveralls.io/github/Porter-connectors/FileConnector | ||
[Coverage image]: https://coveralls.io/repos/Porter-connectors/FileConnector/badge.svg "Test coverage" | ||
[Style]: https://styleci.io/repos/109195476 | ||
[Style image]: https://styleci.io/repos/109195476/shield?style=flat "Code style" |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,31 @@ | ||
{ | ||
"name": "connectors/file", | ||
"description": "Provides a local filesystems connector for Porter.", | ||
"authors": [ | ||
{ | ||
"name": "Bilge", | ||
"email": "bilge@scriptfusion.com" | ||
} | ||
], | ||
"license": "LGPL-3.0", | ||
"require": { | ||
"php": "^7", | ||
"scriptfusion/porter": "4.0.x-dev" | ||
}, | ||
"require-dev": { | ||
"phpunit/phpunit": "^6" | ||
}, | ||
"autoload": { | ||
"psr-4": { | ||
"ScriptFUSION\\Porter\\Net\\File\\": "src" | ||
} | ||
}, | ||
"autoload-dev": { | ||
"psr-4": { | ||
"ScriptFUSIONTest\\": "test" | ||
} | ||
}, | ||
"scripts": { | ||
"test": "phpunit -c test" | ||
} | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,12 @@ | ||
<phpunit | ||
beStrictAboutOutputDuringTests="true" | ||
> | ||
<testsuite> | ||
<directory>.</directory> | ||
</testsuite> | ||
<filter> | ||
<whitelist processUncoveredFilesFromWhitelist="true"> | ||
<directory>../src</directory> | ||
</whitelist> | ||
</filter> | ||
</phpunit> |