From 873765bdc31ea55fde5d11e24910964e5512d3b2 Mon Sep 17 00:00:00 2001 From: Arthur Monney Date: Tue, 20 Jul 2021 08:42:09 +0100 Subject: [PATCH 1/2] :memo: Update badges link --- .travis.yml | 0 readme.md => README.md | 16 +++++++--------- 2 files changed, 7 insertions(+), 9 deletions(-) create mode 100644 .travis.yml rename readme.md => README.md (75%) diff --git a/.travis.yml b/.travis.yml new file mode 100644 index 000000000..e69de29bb diff --git a/readme.md b/README.md similarity index 75% rename from readme.md rename to README.md index b5d79efca..913432053 100644 --- a/readme.md +++ b/README.md @@ -1,9 +1,13 @@

- +

-[![Latest Version on Packagist][ico-version]][link-packagist] -[![Total Downloads][ico-downloads]][link-downloads] +

+Build Status +Total Downloads +Latest Stable Version +License +

## Introduction @@ -69,12 +73,6 @@ And a special thanks to [Caneco](https://twitter.com/caneco) for the logo ✨ The Shopper Framework is open-sourced software licensed under the [MIT license](https://opensource.org/licenses/MIT). -[ico-version]: https://img.shields.io/packagist/v/shopper/framework.svg?style=flat-square -[ico-downloads]: https://img.shields.io/packagist/dt/shopper/framework.svg?style=flat-square -[ico-travis]: https://img.shields.io/travis/shopper/framework/master.svg?style=flat-square -[link-packagist]: https://packagist.org/packages/shopper/framework -[link-downloads]: https://packagist.org/packages/shopper/framework -[link-travis]: https://travis-ci.org/shopper/framework [link-author]: https://github.com/mckenziearts [link-author-2]: https://github.com/sense [link-contributors]: ../../contributors From c2f796deddf93d80c9f2694b4a118a73acd2c9cc Mon Sep 17 00:00:00 2001 From: Arthur Monney Date: Tue, 20 Jul 2021 08:42:33 +0100 Subject: [PATCH 2/2] :white_check_mark: Add travis ci test --- .styleci.yml | 14 +++++++++++++- .travis.yml | 16 ++++++++++++++++ 2 files changed, 29 insertions(+), 1 deletion(-) diff --git a/.styleci.yml b/.styleci.yml index c3bb259c5..1db61d96e 100644 --- a/.styleci.yml +++ b/.styleci.yml @@ -1 +1,13 @@ -preset: laravel \ No newline at end of file +php: + preset: laravel + disabled: + - unused_use + finder: + not-name: + - index.php + - server.php +js: + finder: + not-name: + - webpack.mix.js +css: true diff --git a/.travis.yml b/.travis.yml index e69de29bb..406e17ca6 100644 --- a/.travis.yml +++ b/.travis.yml @@ -0,0 +1,16 @@ +language: php + +sudo: true + +php: + - 7.4 + - 8.0 + +os: linux + +before_script: + - travis_retry composer self-update + - composer install + +script: + - vendor/bin/phpinsights