Skip to content

Commit

Permalink
Try to get coveralls working.
Browse files Browse the repository at this point in the history
  • Loading branch information
terrencegf committed May 25, 2017
1 parent 62a4e93 commit a40f031
Show file tree
Hide file tree
Showing 3 changed files with 14 additions and 9 deletions.
11 changes: 5 additions & 6 deletions .travis.yml
Original file line number Diff line number Diff line change
Expand Up @@ -9,15 +9,14 @@ php:
before_script:
- travis_retry composer self-update
- travis_retry composer install --no-interaction --prefer-source --dev
- travis_retry composer require satooshi/php-coveralls --dev
- travis_retry phpenv rehash

script:
- mkdir -p build/logs
- ./vendor/bin/phpcs --standard=psr2 src/
- ./vendor/bin/phpunit --coverage-clover build/logs/coverage.clover
- ./vendor/bin/parallel-lint src test
- ./vendor/bin/phpunit --coverage-text
- ./vendor/bin/phpcs --standard=psr2 -sp src

after_script:
- php vendor/bin/coveralls -v
- wget https://scrutinizer-ci.com/ocular.phar
- php ocular.phar code-coverage:upload --format=php-clover build/logs/coverage.clover
- wget https://github.com/satooshi/php-coveralls/releases/download/v1.0.1/coveralls.phar
- php coveralls.phar
11 changes: 8 additions & 3 deletions README.md
Original file line number Diff line number Diff line change
@@ -1,11 +1,16 @@
# CILogon Provider for the OAuth 2.0 Client

[![Build Status](https://travis-ci.org/cilogon/oauth2-cilogon.svg?branch=master)](https://travis-ci.org/cilogon/oauth2-cilogon)
[![Coverage Status](https://coveralls.io/repos/github/cilogon/oauth2-cilogon/badge.svg?branch=master)](https://coveralls.io/github/cilogon/oauth2-cilogon?branch=master)
[![Scrutinizer Code Quality](https://scrutinizer-ci.com/g/cilogon/oauth2-cilogon/badges/quality-score.png?b=master)](https://scrutinizer-ci.com/g/cilogon/oauth2-cilogon/?branch=master)
[![License](https://img.shields.io/badge/license-NCSA-brightgreen.svg)](https://github.com/cilogon/oauth2-cilogon/blob/master/LICENSE)
[![Travis](https://img.shields.io/travis/cilogon/oauth2-cilogon/master.svg)](https://travis-ci.org/cilogon/oauth2-cilogon)
[![Scrutinizer](https://img.shields.io/scrutinizer/g/cilogon/oauth2-cilogon/master.svg)](https://scrutinizer-ci.com/g/cilogon/oauth2-cilogon/)
[![Coveralls](https://img.shields.io/coveralls/cilogon/oauth2-cilogon/master.svg)](https://coveralls.io/github/cilogon/oauth2-cilogon?branch=master)

This package provides CILogon OAuth 2.0 support for the PHP League's [OAuth 2.0 Client](https://github.com/thephpleague/oauth2-client).

[CILogon](http://www.cilogon.org) facilitates federated authentication for CyberInfrastructure (CI). For more information, see
[http://www.cilogon.org/oidc](http://www.cilogon.org/oidc) . Note that CILogon is used primarily by NSF-funded projects. All client
registrations are vetted and approved manually.

This package is compliant with [PSR-1][], [PSR-2][] and [PSR-4][]. If you notice compliance oversights, please send
a patch via pull request.

Expand Down
1 change: 1 addition & 0 deletions composer.json
Original file line number Diff line number Diff line change
Expand Up @@ -24,6 +24,7 @@
"require-dev": {
"phpunit/phpunit": "~4.0",
"mockery/mockery": "~0.9",
"jakub-onderka/php-parallel-lint": "~0.9",
"squizlabs/php_codesniffer": "~2.0"
},
"autoload": {
Expand Down

0 comments on commit a40f031

Please sign in to comment.