diff --git a/.travis.yml b/.travis.yml deleted file mode 100644 index 3f7c3b3..0000000 --- a/.travis.yml +++ /dev/null @@ -1,40 +0,0 @@ -# -# JBZoo Toolbox - Toolbox-Dev -# -# This file is part of the JBZoo Toolbox project. -# For the full copyright and license information, please view the LICENSE -# file that was distributed with this source code. -# -# @package Toolbox-Dev -# @license MIT -# @copyright Copyright (C) JBZoo.com, All rights reserved. -# @link https://github.com/JBZoo/Toolbox-Dev -# - -language: php -os: linux -dist: xenial - -git: - depth: false - -php: - - 7.2 - - 7.3 - - 7.4 - - 8.0 - -env: - matrix: - - JBZOO_COMPOSER_UPDATE_FLAGS="--prefer-lowest --prefer-stable" - - JBZOO_COMPOSER_UPDATE_FLAGS="" - -before_script: - - composer self-update - -script: - - make update --no-print-directory - - make test-all --no-print-directory - -after_script: - - make report-coveralls diff --git a/README.md b/README.md index ace6c44..6efa4da 100644 --- a/README.md +++ b/README.md @@ -1,6 +1,6 @@ # JBZoo / Toolbox-Dev -[![Build Status](https://travis-ci.org/JBZoo/Toolbox-Dev.svg?branch=master)](https://travis-ci.org/JBZoo/Toolbox-Dev) [![Coverage Status](https://coveralls.io/repos/JBZoo/Toolbox-Dev/badge.svg)](https://coveralls.io/github/JBZoo/Toolbox-Dev) [![Psalm Coverage](https://shepherd.dev/github/JBZoo/Toolbox-Dev/coverage.svg)](https://shepherd.dev/github/JBZoo/Toolbox-Dev) [![Scrutinizer Code Quality](https://scrutinizer-ci.com/g/jbzoo/toolbox-dev/badges/quality-score.png?b=master)](https://scrutinizer-ci.com/g/jbzoo/toolbox-dev/?branch=master) [![CodeFactor](https://www.codefactor.io/repository/github/jbzoo/toolbox-dev/badge)](https://www.codefactor.io/repository/github/jbzoo/toolbox-dev/issues) [![PHP Strict Types](https://img.shields.io/badge/strict__types-%3D1-brightgreen)](https://www.php.net/manual/en/language.types.declarations.php#language.types.declarations.strict) +[![Build Status](https://travis-ci.org/JBZoo/Toolbox-Dev.svg)](https://travis-ci.org/JBZoo/Toolbox-Dev) [![Coverage Status](https://coveralls.io/repos/JBZoo/Toolbox-Dev/badge.svg)](https://coveralls.io/github/JBZoo/Toolbox-Dev) [![Psalm Coverage](https://shepherd.dev/github/JBZoo/Toolbox-Dev/coverage.svg)](https://shepherd.dev/github/JBZoo/Toolbox-Dev) [![CodeFactor](https://www.codefactor.io/repository/github/jbzoo/toolbox-dev/badge)](https://www.codefactor.io/repository/github/jbzoo/toolbox-dev/issues) [![PHP Strict Types](https://img.shields.io/badge/strict__types-%3D1-brightgreen)](https://www.php.net/manual/en/language.types.declarations.php#language.types.declarations.strict) [![Stable Version](https://poser.pugx.org/jbzoo/toolbox-dev/version)](https://packagist.org/packages/jbzoo/toolbox-dev) [![Latest Unstable Version](https://poser.pugx.org/jbzoo/toolbox-dev/v/unstable)](https://packagist.org/packages/jbzoo/toolbox-dev) [![Dependents](https://poser.pugx.org/jbzoo/toolbox-dev/dependents)](https://packagist.org/packages/jbzoo/toolbox-dev/dependents?order_by=downloads) [![GitHub Issues](https://img.shields.io/github/issues/jbzoo/toolbox-dev)](https://github.com/JBZoo/Toolbox-Dev/issues) [![Total Downloads](https://poser.pugx.org/jbzoo/toolbox-dev/downloads)](https://packagist.org/packages/jbzoo/toolbox-dev/stats) [![GitHub License](https://img.shields.io/github/license/jbzoo/toolbox-dev)](https://github.com/JBZoo/Toolbox-Dev/blob/master/LICENSE) diff --git a/composer.json b/composer.json index c8471f6..6c19d71 100644 --- a/composer.json +++ b/composer.json @@ -16,7 +16,7 @@ "php" : ">=7.2", "jbzoo/phpunit" : "^4.10.0", - "jbzoo/codestyle" : "^3.0.0", + "jbzoo/codestyle" : "^3.0.3", "jbzoo/jbdump" : "^1.5.6", "symfony/var-dumper" : "^4.4|^5.0", diff --git a/tests/ToolboxDevReadmeTest.php b/tests/ToolboxDevReadmeTest.php index 8e5bbcb..38bb21d 100644 --- a/tests/ToolboxDevReadmeTest.php +++ b/tests/ToolboxDevReadmeTest.php @@ -33,20 +33,8 @@ protected function setUp(): void { parent::setUp(); - $this->params['scrutinizer'] = true; $this->params['codefactor'] = true; $this->params['strict_types'] = true; - } - - /** - * @return string|null - */ - protected function checkBadgeTravis(): ?string - { - return $this->getPreparedBadge($this->getBadge( - 'Build Status', - 'https://travis-ci.org/__VENDOR_ORIG__/__PACKAGE_ORIG__.svg?branch=master', - 'https://travis-ci.org/__VENDOR_ORIG__/__PACKAGE_ORIG__' - )); + $this->params['travis'] = true; } }