Skip to content

Commit

Permalink
Merge branch 'travis'
Browse files Browse the repository at this point in the history
  • Loading branch information
tangrufus committed Apr 7, 2018
2 parents da8a91d + 3191926 commit 45f95d3
Show file tree
Hide file tree
Showing 4 changed files with 21 additions and 9 deletions.
14 changes: 8 additions & 6 deletions .travis.yml
Original file line number Diff line number Diff line change
Expand Up @@ -20,30 +20,32 @@ notifications:

php:
- 7.0
- 7.1
- 7.2
- nightly

env:
global:
- COMPOSER_NO_INTERACTION=1
- TMPDIR=/tmp/
matrix:
- WP_VERSION=nightly
- WP_VERSION=latest
- WP_VERSION=4.9.4
- WP_VERSION=latest WITH_COVERAGE=true
- WP_VERSION=4.9.5

matrix:
include:
- php: '7.1'
env: WITH_COVERAGE=true
- php: nightly
env: WP_VERSION=latest
exclude:
- php: nightly
env: WP_VERSION=latest WITH_COVERAGE=true
allow_failures:
- php: nightly
- env: WP_VERSION=nightly
fast_finish: true

before_install:
- $WITH_COVERAGE || phpenv config-rm xdebug.ini || true
- mkdir -p $TMPDIR/AspectMock/wp-kses-view

# Install helper scripts
- travis_retry composer global require --prefer-dist --no-suggest typisttech/travis-nginx-wordpress
Expand Down
12 changes: 11 additions & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -33,6 +33,7 @@ Safely rendering for WordPress, the OOP way.
- [What to do when wp.org plugin team tell me to clean up the `vendor` folder?](#what-to-do-when-wporg-plugin-team-tell-me-to-clean-up-the-vendor-folder)
- [Can two different plugins use this package at the same time?](#can-two-different-plugins-use-this-package-at-the-same-time)
- [Do you have real life examples that use this package?](#do-you-have-real-life-examples-that-use-this-package)
- [It looks awesome. Where can I find some more goodies like this?](#it-looks-awesome-where-can-i-find-some-more-goodies-like-this)
- [Support](#support)
- [Why don't you hire me?](#why-dont-you-hire-me)
- [Want to help in other way? Want to be a sponsor?](#want-to-help-in-other-way-want-to-be-a-sponsor)
Expand Down Expand Up @@ -229,6 +230,15 @@ Here you go:

*Add your own plugin [here](https://github.com/TypistTech/wp-kses-view/edit/master/README.md)*

### It looks awesome. Where can I find some more goodies like this?

* Articles on Typist Tech's [blog](https://typist.tech)
* [Tang Rufus' WordPress plugins](https://profiles.wordpress.org/tangrufus#content-plugins) on wp.org
* More projects on [Typist Tech's GitHub profile](https://github.com/TypistTech)
* Stay tuned on [Typist Tech's newsletter](https://typist.tech/go/newsletter)
* Follow [Tang Rufus' Twitter account](https://twitter.com/TangRufus)
* Hire [Tang Rufus](https://typist.tech/contact) to build your next awesome site

## Support

Love `wp-kses-view`? Help me maintain it, a [donation here](https://typist.tech/donation/) can help with it.
Expand Down Expand Up @@ -265,7 +275,7 @@ $ composer test

We also test all PHP files against [PSR-2: Coding Style Guide](http://www.php-fig.org/psr/psr-2/) and part of the [WordPress coding standard](https://github.com/WordPress-Coding-Standards/WordPress-Coding-Standards).

Check the code style with ``$ composer check-style`` and fix it with ``$ composer fix-style``.
Check the code style with ``$ composer check-style``.

## Feedback

Expand Down
2 changes: 1 addition & 1 deletion composer.json
Original file line number Diff line number Diff line change
Expand Up @@ -30,7 +30,7 @@
},
"require-dev": {
"codeception/aspect-mock": "^2.1",
"lucatume/wp-browser": "^1.21",
"lucatume/wp-browser": "^2.0",
"neronmoon/scriptsdev": "^0.1.1",
"wp-coding-standards/wpcs": "^0.13.1"
},
Expand Down
2 changes: 1 addition & 1 deletion tests/wpunit/_bootstrap.php
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@
$kernel->init(
[
'debug' => true,
'cacheDir' => getenv('TMPDIR') . 'AspectMock/wp-kses-view',
'cacheDir' => codecept_root_dir('_output'),
'includePaths' => [codecept_root_dir('src')],
'excludePaths' => [codecept_root_dir('tests')],
]
Expand Down

0 comments on commit 45f95d3

Please sign in to comment.