diff --git a/.circleci/config.yml b/.circleci/config.yml new file mode 100644 index 0000000..8282ea7 --- /dev/null +++ b/.circleci/config.yml @@ -0,0 +1,32 @@ +# This config was automatically generated from your source code +# Stacks detected: deps:php:. +version: 2.1 +orbs: + php: circleci/php@1 +jobs: + test-php: + # Install php packages and run tests + docker: + - image: cimg/php:8.2-node + steps: + - checkout + - php/install-packages + - run: + name: run tests + command: ./vendor/bin/phpunit + deploy: + # This is an example deploy job, not actually used by the workflow + docker: + - image: cimg/base:stable + steps: + # Replace this with steps to deploy to users + - run: + name: deploy + command: '#e.g. ./deploy.sh' +workflows: + build-and-test: + jobs: + - test-php + # - deploy: + # requires: + # - test-php diff --git a/.travis.yml b/.travis.yml deleted file mode 100644 index c2f5331..0000000 --- a/.travis.yml +++ /dev/null @@ -1,9 +0,0 @@ -language: php - -php: 8.1 - -before_script: - - composer self-update - - composer install --no-interaction - -script: vendor/bin/phpunit \ No newline at end of file diff --git a/README.md b/README.md index 5ecb9c6..071dc85 100644 --- a/README.md +++ b/README.md @@ -4,7 +4,7 @@ ![Packagist](https://img.shields.io/packagist/dt/pacerit/laravel-polish-validation-rules?label=Downloads) ![PHP from Packagist](https://img.shields.io/packagist/php-v/pacerit/laravel-polish-validation-rules?label=PHP) [![StyleCI](https://github.styleci.io/repos/201912664/shield?branch=master)](https://github.styleci.io/repos/201912664) -[![Build Status](https://travis-ci.com/pacerit/laravel-polish-validation-rules.svg?branch=master)](https://travis-ci.com/pacerit/laravel-polish-validation-rules) +[![](https://circleci.com/gh/pacerit/laravel-polish-validation-rules.svg?style=svg)](https://circleci.com/gh/pacerit/laravel-polish-validation-rules) Simple Polish Validation rules for Laravel and Lumen framework @@ -24,9 +24,10 @@ Framework | Package | Note 5.8.x | ^1.x.x | No longer maintained. 6.0.x | ^2.x.x | No longer maintained. 7.x.x | ^3.x.x | No longer maintained. -8.x.x | ^4.x.x | PHP ^8.0 Supported from 4.0.3, Bug fixes only. +8.x.x | ^4.x.x | PHP ^8.0 Supported from 4.0.3, Bug fixes only. No longer maintained. 9.x.x | ^5.x.x | 10.x.x | ^6.x.x | +11.x.x | ^7.x.x | ## Rules diff --git a/composer.json b/composer.json index 0a4ac65..acb6588 100644 --- a/composer.json +++ b/composer.json @@ -11,13 +11,13 @@ "REGON" ], "require": { - "php": "^8.1", - "illuminate/support": "^10.0", + "php": "^8.2", + "illuminate/support": "^11.0", "ext-calendar": "*" }, "require-dev": { - "phpunit/phpunit": "^10.0", - "orchestra/testbench": "^8.1" + "phpunit/phpunit": "^11.0", + "orchestra/testbench": "^9.0" }, "license": "MIT", "authors": [