Skip to content
This repository has been archived by the owner on Jan 28, 2023. It is now read-only.

Commit

Permalink
Merge pull request #91 from WooMinecraft/hotfix/travis
Browse files Browse the repository at this point in the history
Change travis build branch
  • Loading branch information
JayWood authored Dec 17, 2021
2 parents 1e2ac97 + bd51664 commit c165572
Show file tree
Hide file tree
Showing 4 changed files with 33 additions and 26 deletions.
16 changes: 5 additions & 11 deletions .travis.yml
Original file line number Diff line number Diff line change
@@ -1,18 +1,12 @@
language: php
php:
- '7.1'
- '7.2'
- '8.0'
before_script:
- phpenv config-rm xdebug.ini
script:
- composer install
- composer run-script phpcs
cache:
directories:
- vendor
jobs:
include:
- stage: phplint
if: |
branch = main OR \
branch =~ /^release\/.*$/
script:
- composer install
- composer run-script phpcs
- vendor
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
# WooMinecraft - WordPress Plugin

[![Twitter Follow](https://img.shields.io/twitter/follow/plugish.svg?style=for-the-badge&logo=twitter&label=Follow)](https://twitter.com/plugish) ![WordPress](https://img.shields.io/wordpress/v/woominecraft.svg?style=for-the-badge) ![WordPress plugin downloads](https://img.shields.io/wordpress/plugin/dt/woominecraft.svg?style=for-the-badge) ![WordPress plugin version](https://img.shields.io/wordpress/plugin/v/woominecraft.svg?style=for-the-badge) ![](https://img.shields.io/travis/com/WooMinecraft/woominecraft-wp/master?style=for-the-badge)
[![Twitter Follow](https://img.shields.io/twitter/follow/plugish.svg?style=for-the-badge&logo=twitter&label=Follow)](https://twitter.com/plugish) ![WordPress](https://img.shields.io/wordpress/v/woominecraft.svg?style=for-the-badge) ![WordPress plugin downloads](https://img.shields.io/wordpress/plugin/dt/woominecraft.svg?style=for-the-badge) ![WordPress plugin version](https://img.shields.io/wordpress/plugin/v/woominecraft.svg?style=for-the-badge) ![](https://img.shields.io/travis/com/WooMinecraft/woominecraft-wp/main?style=for-the-badge)

**License:** GPLv2 or later
**Requires at least:** 4.9
Expand Down
40 changes: 26 additions & 14 deletions composer.lock

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

1 change: 1 addition & 0 deletions phpcs.xml
Original file line number Diff line number Diff line change
Expand Up @@ -50,6 +50,7 @@
<exclude name="WordPress.WP.I18n.MissingTranslatorsComment" />
<exclude name="Generic.WhiteSpace.ScopeIndent.Incorrect" />
<exclude name="Squiz.PHP.EmbeddedPhp.ContentBeforeOpen" />
<exclude name="Generic.Arrays.DisallowShortArraySyntax" />
</rule>

<!--
Expand Down

0 comments on commit c165572

Please sign in to comment.