mirror of
https://github.com/Hutchy68/pivot.git
synced 2024-11-21 09:59:04 +01:00
Setup CircleCI for testing
This commit is contained in:
parent
13bf89300c
commit
8ec2264b04
57
.circleci/config.yml
Normal file
57
.circleci/config.yml
Normal file
@ -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"
|
16
.travis.yml
16
.travis.yml
@ -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
|
@ -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.
|
||||
|
@ -1,6 +1,6 @@
|
||||
{
|
||||
"require-dev": {
|
||||
"jakub-onderka/php-parallel-lint": "0.9"
|
||||
"php-parallel-lint/php-parallel-lint": "1.2.0"
|
||||
},
|
||||
"scripts": {
|
||||
"test": [
|
||||
|
Loading…
Reference in New Issue
Block a user