-
Notifications
You must be signed in to change notification settings - Fork 1
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
removes the graphql auth plugin from composer over to the plugins dir…
…ectory since there is a fatal bug in it: wp-graphql/wp-graphql-jwt-authentication#157
- Loading branch information
Showing
72 changed files
with
6,533 additions
and
131 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,3 @@ | ||
service_name: travis-ci | ||
coverage_clover: tests/_output/coverage.xml | ||
json_path: tests/_output/coverage.json |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,27 @@ | ||
# A set of files you probably don't want in your WordPress.org distribution | ||
.distignore | ||
.editorconfig | ||
.git | ||
.gitignore | ||
.gitlab-ci.yml | ||
.travis.yml | ||
.DS_Store | ||
Thumbs.db | ||
behat.yml | ||
bin | ||
circle.yml | ||
composer.json | ||
composer.lock | ||
Gruntfile.js | ||
package.json | ||
phpunit.xml | ||
phpunit.xml.dist | ||
multisite.xml | ||
multisite.xml.dist | ||
phpcs.ruleset.xml | ||
README.md | ||
wp-cli.local.yml | ||
tests | ||
node_modules | ||
*.zip | ||
*.tar.gz |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,22 @@ | ||
# This file is for unifying the coding style for different editors and IDEs | ||
# editorconfig.org | ||
|
||
# WordPress Coding Standards | ||
# https://make.wordpress.org/core/handbook/coding-standards/ | ||
|
||
root = true | ||
|
||
[*] | ||
charset = utf-8 | ||
end_of_line = lf | ||
insert_final_newline = true | ||
trim_trailing_whitespace = true | ||
indent_style = tab | ||
indent_size = 4 | ||
|
||
[{.jshintrc,*.json,*.yml}] | ||
indent_style = space | ||
indent_size = 2 | ||
|
||
[{*.txt,wp-config-sample.php}] | ||
end_of_line = crlf |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,23 @@ | ||
# Shared | ||
TEST_DB_NAME="wptests" | ||
TEST_DB_HOST="127.0.0.1" | ||
TEST_DB_USER="root" | ||
TEST_DB_PASSWORD="" | ||
|
||
# Install script | ||
WP_VERSION=latest | ||
SKIP_DB_CREATE=false | ||
|
||
# Codeception | ||
WP_ROOT_FOLDER="/tmp/wp-graphql-jwt-authentication/wordpress" | ||
WP_ADMIN_PATH="/wp-admin" | ||
DB_NAME="wptests" | ||
DB_HOST="127.0.0.1" | ||
DB_USER="root" | ||
DB_PASSWORD="" | ||
WP_TABLE_PREFIX="wp_" | ||
WP_URL="http://wp.test" | ||
WP_DOMAIN="wp.test" | ||
ADMIN_EMAIL="[email protected]" | ||
ADMIN_USERNAME="admin" | ||
ADMIN_PASSWORD="password" |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,20 @@ | ||
.DS_Store | ||
Thumbs.db | ||
wp-cli.local.yml | ||
node_modules/ | ||
*.zip | ||
*.tar.gz | ||
.idea | ||
coverage/ | ||
build/ | ||
vendor/* | ||
!vendor/composer | ||
!vendor/firebase | ||
!vendor/autoload.php | ||
c3.php | ||
!/tests | ||
/tests/*.suite.yml | ||
/tests/_output | ||
.env | ||
.codeception.yml | ||
composer.lock |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,78 @@ | ||
sudo: false | ||
dist: trusty | ||
|
||
language: php | ||
|
||
notifications: | ||
email: | ||
on_success: never | ||
on_failure: change | ||
|
||
branches: | ||
only: | ||
- master | ||
|
||
cache: | ||
directories: | ||
- vendor | ||
- $HOME/.composer/cache | ||
|
||
matrix: | ||
include: | ||
- php: 7.3 | ||
env: WP_VERSION=latest | ||
- php: 7.2 | ||
env: WP_VERSION=latest | ||
- php: 7.1 | ||
env: WP_VERSION=latest | ||
- php: 7.0 | ||
env: WP_VERSION=latest | ||
- php: 7.0 | ||
env: WP_VERSION=trunk | ||
allow_failures: | ||
- env: WP_TRAVISCI=phpcs | ||
|
||
install: | ||
- | | ||
cd $TRAVIS_BUILD_DIR | ||
curl -O https://raw.githubusercontent.com/wp-cli/builds/gh-pages/phar/wp-cli.phar | ||
chmod +x wp-cli.phar | ||
sudo mv wp-cli.phar /usr/local/bin/wp | ||
before_script: | ||
- export PATH="$HOME/.composer/vendor/bin:$PATH" | ||
- | | ||
if [[ ! -z "$WP_VERSION" ]]; then | ||
cp .env.dist .env | ||
composer install-wp-tests | ||
COMPOSER_MEMORY_LIMIT=-1 travis_retry composer install --prefer-source --no-interaction | ||
fi | ||
- | | ||
if [[ "$WP_TRAVISCI" == "phpcs" ]]; then | ||
COMPOSER_MEMORY_LIMIT=-1 travis_retry composer require \ | ||
squizlabs/php_codesniffer \ | ||
phpcompatibility/phpcompatibility-wp wp-coding-standards/wpcs \ | ||
dealerdirect/phpcodesniffer-composer-installer | ||
COMPOSER_MEMORY_LIMIT=-1 travis_retry composer install --no-dev | ||
fi | ||
script: | ||
- | | ||
if [[ ! -z "$WP_VERSION" ]]; then | ||
vendor/bin/codecept run wpunit | ||
fi | ||
- | | ||
if [[ "$WP_TRAVISCI" == "phpcs" ]]; then | ||
vendor/bin/phpcs \ | ||
wp-graphql-acf.php \ | ||
src/*.php --standard=WordPress | ||
fi | ||
after_success: | ||
# Download and run Coveralls.io client | ||
- | | ||
if [ "$COVERAGE" == "1" ]; then | ||
wget https://github.com/php-coveralls/php-coveralls/releases/download/v2.1.0/php-coveralls.phar | ||
chmod +x php-coveralls.phar | ||
travis_retry php php-coveralls.phar -v | ||
fi |
Oops, something went wrong.