Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
7 changes: 7 additions & 0 deletions .gitignore
Original file line number Diff line number Diff line change
@@ -0,0 +1,7 @@
# IDE meta
/nbproject
/.idea
/build

# Composer
/vendor
18 changes: 18 additions & 0 deletions .travis.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,18 @@
sudo: false
language: php
php:
- 5.6
- 7
- 7.1
- 7.2

install:
- composer install --prefer-dist

script:
- composer cs
- composer test

cache:
directories:
- $HOME/.composer/cache/files
42 changes: 42 additions & 0 deletions composer.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,42 @@
{
"name": "webignition/guzzle-http-authentication-middleware",
"description": "Http authentication middleware for Guzzle6",
"keywords": ["sitemap"],
"homepage": "https://github.com/webignition/guzzle-http-authentication-middleware",
"type": "library",
"license": "MIT",
"authors": [
{
"name": "Jon Cram",
"email": "jon@webignition.net"
}
],
"autoload": {
"psr-4": {
"webignition\\Guzzle\\Middleware\\HttpAuthentication\\": "src/"
}
},
"autoload-dev": {
"psr-4": {
"webignition\\Guzzle\\Middleware\\HttpAuthentication\\Tests\\": "tests/"
}
},
"scripts": {
"test": "./vendor/bin/phpunit --colors=always",
"cs": "./vendor/bin/phpcs src tests --colors --standard=PSR2",
"ci": [
"@composer cs",
"@composer test"
]
},
"require": {
"php": ">=5.6.0",
"psr/http-message": "~1.0"
},
"require-dev": {
"phpunit/phpunit": "^5",
"mockery/mockery": "~1",
"squizlabs/php_codesniffer": "3.*"
},
"minimum-stability":"stable"
}
Loading