Skip to content

Commit adf33c9

Browse files
committed
- added Scrutinizer CI
- removed support for PHP 7.1 - added 7.4 and nightly (travis)
1 parent 4cd94b0 commit adf33c9

5 files changed

Lines changed: 30 additions & 8 deletions

File tree

.scrutinizer.yml

Lines changed: 22 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,22 @@
1+
build:
2+
nodes:
3+
analysis:
4+
tests:
5+
stop_on_failure: true
6+
override:
7+
- php-scrutinizer-run
8+
environment:
9+
php:
10+
version: '7.3'
11+
dependencies:
12+
override:
13+
- composer install --no-interaction --prefer-source
14+
15+
filter:
16+
excluded_paths:
17+
- 'Tests/'
18+
- 'vendor/'
19+
20+
tools:
21+
php_analyzer: true
22+
external_code_coverage: true

.travis.yml

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -19,9 +19,10 @@ addons:
1919
- memcached
2020

2121
php:
22-
- 7.1
2322
- 7.2
2423
- 7.3
24+
- 7.4
25+
- nightly
2526

2627
matrix:
2728
fast_finish: true
@@ -40,4 +41,4 @@ script:
4041
- vendor/bin/phpunit --coverage-clover build/coverage/clover.xml
4142

4243
after_success:
43-
- travis_retry vendor/bin/codacycoverage clover build/coverage/clover.xml
44+
- travis_retry vendor/bin/ocular code-coverage:upload --format=php-clover build/coverage/clover.xml

README.md

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -3,9 +3,8 @@ Koded Session
33

44
[![Latest Stable Version](https://img.shields.io/packagist/v/koded/session.svg)](https://packagist.org/packages/koded/session)
55
[![Build Status](https://travis-ci.org/kodedphp/session.svg?branch=master)](https://travis-ci.org/kodedphp/session)
6-
[![Codacy Badge](https://api.codacy.com/project/badge/Coverage/358e1c798c0c4af8bec25a0adb2671e2)](https://www.codacy.com/app/kodeart/session)
7-
[![Codacy Badge](https://api.codacy.com/project/badge/Grade/358e1c798c0c4af8bec25a0adb2671e2)](https://www.codacy.com/app/kodeart/session)
8-
[![Minimum PHP Version](https://img.shields.io/badge/php-%3E%3D%207.1.4-8892BF.svg)](https://php.net/)
6+
[![Code Coverage](https://scrutinizer-ci.com/g/kodedphp/session/badges/coverage.png?b=master)](https://scrutinizer-ci.com/g/kodedphp/session/?branch=master)
7+
[![Scrutinizer Code Quality](https://scrutinizer-ci.com/g/kodedphp/session/badges/quality-score.png?b=master)](https://scrutinizer-ci.com/g/kodedphp/session/?[![Minimum PHP Version](https://img.shields.io/badge/php-%3E%3D%207.1.4-8892BF.svg)](https://php.net/)
98
[![Software license](https://img.shields.io/badge/License-BSD%203--Clause-blue.svg)](LICENSE)
109

1110

VERSION

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1 +1 @@
1-
1.0.0
1+
1.1.0

composer.json

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -44,11 +44,11 @@
4444
},
4545
"require-dev": {
4646
"phpunit/phpunit": "~7",
47-
"codacy/coverage": "dev-master"
47+
"scrutinizer/ocular": "^1.6"
4848
},
4949
"extra": {
5050
"branch-alias": {
51-
"dev-master": "1.0-dev"
51+
"dev-master": "1.x-dev"
5252
}
5353
}
5454
}

0 commit comments

Comments
 (0)