Skip to content

Commit

Permalink
Merge pull request #805 from alleyinteractive/feature/v2.1.0
Browse files Browse the repository at this point in the history
Merge v2.1.0 into develop
  • Loading branch information
kevinfodness authored Oct 5, 2020
2 parents d90a89f + cf430dc commit 465151f
Show file tree
Hide file tree
Showing 136 changed files with 5,474 additions and 3,234 deletions.
32 changes: 32 additions & 0 deletions .deployignore
Original file line number Diff line number Diff line change
@@ -0,0 +1,32 @@
.DS_Store
*.zip
tags
composer.lock
vendor
node_modules
npm-debug.log

# IDEs
.idea
.vscode

# Directories and files that we do not want to be included with the built
# version and deployed to WordPress.org.
.babelrc
.editorconfig
.eslintignore
.eslintrc.json
.github
.travis.yml
assets/images
assets/js/pluginsidebar
assets/js/util
bin
composer.json
package.json
package-lock.json
phpcs.xml.dist
phpunit.xml.dist
README.md
tests
webpack.config.js
26 changes: 13 additions & 13 deletions .travis.yml
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,6 @@ dist: xenial
# Xenial does not start mysql by default
services:
- mysql
- memcached

# Declare project language.
# @link http://about.travis-ci.org/docs/user/languages/php/
Expand All @@ -17,16 +16,18 @@ language: php
branches:
only:
- develop
- feature/v2.1.0

cache:
directories:
- $HOME/.composer/cache
- ./vendor
- node_modules
- $HOME/.config/composer/cache
- $HOME/.npm
- $HOME/.nvm

# Git clone depth.
git:
depth: 1
quiet: true

matrix:
fast_finish: true
Expand All @@ -51,18 +52,18 @@ before_script:
# Turn off Xdebug. See https://core.trac.wordpress.org/changeset/40138.
- phpenv config-rm xdebug.ini || echo "Xdebug not available"

- export PATH="$HOME/.composer/vendor/bin:$PATH"
- export PATH="$HOME/.config/composer/vendor/bin:$PATH"

# Couple the PHPUnit version to the PHP version.
- |
case "$TRAVIS_PHP_VERSION" in
7.*)
echo "Using PHPUnit 6.1"
composer global require "phpunit/phpunit=6.1.*"
echo "Using PHPUnit 6.5"
composer global require "phpunit/phpunit=6.5.*"
;;
*)
echo "Using PHPUnit 4.8"
composer global require "phpunit/phpunit=4.8.*"
echo "Using PHPUnit 5.7"
composer global require "phpunit/phpunit=5.7.*"
;;
esac
Expand All @@ -75,16 +76,15 @@ before_script:
# Set up phpcs.
- |
if [[ "$WP_PHPCS" == "1" ]] ; then
composer global require automattic/vipwpcs
phpcs --config-set installed_paths $HOME/.composer/vendor/wp-coding-standards/wpcs,$HOME/.composer/vendor/automattic/vipwpcs
composer g require --dev automattic/vipwpcs dealerdirect/phpcodesniffer-composer-installer
fi
# Set up jest.
- |
if [[ "$WP_JS" == "1" ]] ; then
nvm install 8
nvm install 12
npm i -g npm@6
npm install
npm ci
fi
# Run test script commands.
Expand Down
Loading

0 comments on commit 465151f

Please sign in to comment.