From 8ec2264b0499d5a2ce8322799ba3cf9d8f60d0d6 Mon Sep 17 00:00:00 2001 From: Tom Hutchison Date: Fri, 11 Dec 2020 09:18:53 -0500 Subject: [PATCH] Setup CircleCI for testing --- .circleci/config.yml | 57 ++++++++++++++++++++++++++++++++++++++++++++ .travis.yml | 16 ------------- README.md | 4 ++-- composer.json | 2 +- 4 files changed, 60 insertions(+), 19 deletions(-) create mode 100644 .circleci/config.yml delete mode 100644 .travis.yml diff --git a/.circleci/config.yml b/.circleci/config.yml new file mode 100644 index 0000000..4db2cda --- /dev/null +++ b/.circleci/config.yml @@ -0,0 +1,57 @@ +version: 2.0 + +jobs: + "PHP 7.3": + docker: + - + auth: + password: $DOCKERHUB_PASSWORD + username: mydockerhub-user + image: "cimg/php:7.3" + steps: + - checkout + - run: "sudo composer install -n --prefer-dist" + - run: "sudo composer self-update" + - run: "sudo composer update --no-progress --prefer-dist --profile" + - run: + command: "composer test" + name: Test PHP7.3 + + "PHP 7.4": + docker: + - + auth: + password: $DOCKERHUB_PASSWORD + username: mydockerhub-user + image: "cimg/php:7.4" + steps: + - checkout + - run: "sudo composer install -n --prefer-dist" + - run: "sudo composer self-update" + - run: "sudo composer update --no-progress --prefer-dist --profile" + - run: + command: "composer test" + name: Test PHP7.4 + + "PHP 8.0": + docker: + - auth: + password: $DOCKERHUB_PASSWORD + username: mydockerhub-user + image: "cimg/php:8.0" + steps: + - checkout + - run: "sudo composer install -n --prefer-dist" + - run: "sudo composer self-update" + - run: "sudo composer update --no-progress --prefer-dist --profile" + - run: + command: "composer test" + name: Test PHP8.0 + +workflows: + version: 2 + build: + jobs: + - "PHP 7.3" + - "PHP 7.4" + - "PHP 8.0" \ No newline at end of file diff --git a/.travis.yml b/.travis.yml deleted file mode 100644 index 30f360c..0000000 --- a/.travis.yml +++ /dev/null @@ -1,16 +0,0 @@ -language: php - -php: - - 7 - - 7.1 - - 7.2 - - 7.3 - - 7.4 - -sudo: false - -install: - - travis_retry composer update --no-progress --prefer-dist --profile - -script: - - composer test \ No newline at end of file diff --git a/README.md b/README.md index e428fa6..b380612 100644 --- a/README.md +++ b/README.md @@ -1,6 +1,6 @@ # MediaWiki Pivot Skin -[![Build Status](https://travis-ci.org/Hutchy68/pivot.svg?branch=master)](https://travis-ci.org/Hutchy68/pivot) +[![CircleCI](https://circleci.com/gh/Hutchy68/pivot.svg?style=shield)](https://circleci.com/gh/Hutchy68/pivot) [![Scrutinizer Code Quality](https://scrutinizer-ci.com/g/Hutchy68/pivot/badges/quality-score.png?b=master)](https://scrutinizer-ci.com/g/Hutchy68/pivot/?branch=master) A [MediaWiki](http://www.mediawiki.org) skin that focuses on mobile first but will pivot to all viewports with elegance. Supports responsive layouts and has classes predefined for [Semantic MediaWiki](http://semantic-mediawiki.org/wiki/Semantic_MediaWiki). Built on the [Zurb Foundation 5](http://foundation.zurb.com) CSS framework. @@ -86,4 +86,4 @@ You may also want to allow users to set a User CSS if they want to tweak things ## Using Pivot -Questions, open an issue in this repo on Github. +Questions, open an issue in this repo on Github. \ No newline at end of file diff --git a/composer.json b/composer.json index 48f535b..5663517 100644 --- a/composer.json +++ b/composer.json @@ -1,6 +1,6 @@ { "require-dev": { - "jakub-onderka/php-parallel-lint": "0.9" + "php-parallel-lint/php-parallel-lint": "1.2.0" }, "scripts": { "test": [