diff --git a/.travis.yml b/.travis.yml deleted file mode 100644 index 92ed00d..0000000 --- a/.travis.yml +++ /dev/null @@ -1,47 +0,0 @@ -language: php -sudo: false -cache: - directories: - - $HOME/.composer/cache/files - #- $HOME/symfony-bridge/.phpunit - -env: - global: - - PHPUNIT_FLAGS="-v" - #- SYMFONY_PHPUNIT_DIR="$HOME/symfony-bridge/.phpunit" - -matrix: - fast_finish: true - include: - # Test latest stable features - - php: 8.1 - env: PHPSTAN=true COVERAGE=true PHPUNIT_FLAGS="-v --coverage-text" - - allow_failures: - # Minimum supported dependencies with the latest and oldest PHP version - - php: 8.1 - env: COMPOSER_FLAGS="--prefer-stable --prefer-lowest" SYMFONY_DEPRECATIONS_HELPER="weak_vendors" - # Dev-master is allowed to fail. - - env: STABILITY="dev" - -before_install: - - if [[ $COVERAGE != true ]]; then phpenv config-rm xdebug.ini || true; fi - - if [[ $COMPOSER1 = true ]]; then composer selfupdate --1; fi - - if ! [ -z "$STABILITY" ]; then composer config minimum-stability ${STABILITY}; fi; - - if ! [ -v "$DEPENDENCIES" ]; then composer require --no-update ${DEPENDENCIES}; fi; - -install: - - composer update ${COMPOSER_FLAGS} --prefer-dist --no-interaction - -script: - - composer validate --strict --no-check-lock - # simple-phpunit is the PHPUnit wrapper provided by the PHPUnit Bridge component and - # it helps with testing legacy code and deprecations (composer require symfony/phpunit-bridge) - - ./vendor/bin/simple-phpunit $PHPUNIT_FLAGS - - if [[ $PHPSTAN == true ]]; then composer phpstan; fi - #- ./vendor/bin/phpunit --coverage-clover build/logs/clover.xml - # Let's test without the security bundle - - if [[ $TESTNOSECURITYBUNDLE == true ]]; then composer remove --dev symfony/security-bundle && ./vendor/bin/simple-phpunit Tests/NoSecurityBundleTest.php; fi - -after_script: - - ./vendor/bin/php-coveralls -v diff --git a/README.md b/README.md index 2fc9b30..171aaa9 100644 --- a/README.md +++ b/README.md @@ -2,7 +2,6 @@ [![Latest Unstable Version](https://poser.pugx.org/thecodingmachine/graphqlite-bundle/v/unstable)](https://packagist.org/packages/thecodingmachine/graphqlite-bundle) [![License](https://poser.pugx.org/thecodingmachine/graphqlite-bundle/license)](https://packagist.org/packages/thecodingmachine/graphqlite-bundle) [![Build Status](https://travis-ci.org/thecodingmachine/graphqlite-bundle.svg?branch=master)](https://travis-ci.org/thecodingmachine/graphqlite-bundle) -[![Coverage Status](https://coveralls.io/repos/thecodingmachine/graphqlite-bundle/badge.svg?branch=master&service=github)](https://coveralls.io/github/thecodingmachine/graphqlite-bundle?branch=master) # GraphQLite bundle diff --git a/composer.json b/composer.json index 9251be4..7491415 100644 --- a/composer.json +++ b/composer.json @@ -28,7 +28,7 @@ "doctrine/annotations": "^1.13 || ^2.0.1", "symfony/psr-http-message-bridge": "^2.0 || ^7.0", "nyholm/psr7": "^1.1", - "laminas/laminas-diactoros": "^2.2.2", + "laminas/laminas-diactoros": "^2.2.2 || ^3", "overblog/graphiql-bundle": "^0.2 || ^0.3 || ^1", "thecodingmachine/cache-utils": "^1" }, @@ -36,7 +36,6 @@ "symfony/security-bundle": "^6.4 || ^7", "symfony/yaml": "^6.4 || ^7", "beberlei/porpaginas": "^1.2 || ^2.0", - "php-coveralls/php-coveralls": "^2.1.0", "symfony/phpunit-bridge": "^6.4 || ^7", "phpstan/phpstan": "^1.8", "composer/package-versions-deprecated": "^1.8",