forked from duracelltomi/gtm4wp
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Showing
12 changed files
with
894 additions
and
894 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
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 |
---|---|---|
@@ -1,53 +1,53 @@ | ||
sudo: false | ||
language: php | ||
|
||
notifications: | ||
on_success: never | ||
on_failure: change | ||
email: false | ||
|
||
env: WP_PROJECT_TYPE=plugin WP_VERSION=latest WP_MULTISITE=0 WP_TEST_URL=http://localhost:12000 WP_TEST_USER=test WP_TEST_USER_PASS=test WP_PLUGINLIST=woocommerce;amp | ||
|
||
php: | ||
- 5.5 | ||
- 5.6 | ||
- 7.0 | ||
- 7.1 | ||
- 7.2 | ||
- nightly | ||
|
||
matrix: | ||
fast_finish: true | ||
allow_failures: | ||
- php: nightly | ||
- php: 5.5 | ||
|
||
cache: bundler | ||
|
||
before_script: | ||
# Install composer packages before trying to activate themes or plugins | ||
# - composer install | ||
- composer dump-autoload | ||
# - composer self-update | ||
- composer update --prefer-source $PREFER_LOWEST | ||
|
||
# Install Wordpress testing suite and run wordpress | ||
- git clone https://github.com/duracelltomi/wordpress-test-template wp-tests | ||
- bash wp-tests/bin/install-wp-tests.sh test root '' localhost $WP_VERSION | ||
|
||
# Test wordpress | ||
- curl -i http://localhost:12000 | ||
|
||
script: | ||
#- phpcs --standard=WordPress ./**/*.php | ||
- bin/phpunit --coverage-clover=coverage.xml | ||
- cd wp-tests/spec && bundle exec rspec *.rb | ||
# Syntax check all php files and fail for any error text in STDERR | ||
- '! find . -type f -name "*.php" -exec php -d error_reporting=32767 -l {} \; 2>&1 >&- | grep "^"' | ||
|
||
#after_script: | ||
# - wget https://scrutinizer-ci.com/ocular.phar | ||
# - php ocular.phar code-coverage:upload --format=php-clover coverage.xml | ||
|
||
#after_success: | ||
# - bash <(curl -s https://codecov.io/bash)https://developer.wordpress.org/cli/commands/plugin/install/in | ||
sudo: false | ||
language: php | ||
|
||
notifications: | ||
on_success: never | ||
on_failure: change | ||
email: false | ||
|
||
env: WP_PROJECT_TYPE=plugin WP_VERSION=latest WP_MULTISITE=0 WP_TEST_URL=http://localhost:12000 WP_TEST_USER=test WP_TEST_USER_PASS=test WP_PLUGINLIST=woocommerce;amp | ||
|
||
php: | ||
- 5.5 | ||
- 5.6 | ||
- 7.0 | ||
- 7.1 | ||
- 7.2 | ||
- nightly | ||
|
||
matrix: | ||
fast_finish: true | ||
allow_failures: | ||
- php: nightly | ||
- php: 5.5 | ||
|
||
cache: bundler | ||
|
||
before_script: | ||
# Install composer packages before trying to activate themes or plugins | ||
# - composer install | ||
- composer dump-autoload | ||
# - composer self-update | ||
- composer update --prefer-source $PREFER_LOWEST | ||
|
||
# Install Wordpress testing suite and run wordpress | ||
- git clone https://github.com/duracelltomi/wordpress-test-template wp-tests | ||
- bash wp-tests/bin/install-wp-tests.sh test root '' localhost $WP_VERSION | ||
|
||
# Test wordpress | ||
- curl -i http://localhost:12000 | ||
|
||
script: | ||
#- phpcs --standard=WordPress ./**/*.php | ||
- bin/phpunit --coverage-clover=coverage.xml | ||
- cd wp-tests/spec && bundle exec rspec *.rb | ||
# Syntax check all php files and fail for any error text in STDERR | ||
- '! find . -type f -name "*.php" -exec php -d error_reporting=32767 -l {} \; 2>&1 >&- | grep "^"' | ||
|
||
#after_script: | ||
# - wget https://scrutinizer-ci.com/ocular.phar | ||
# - php ocular.phar code-coverage:upload --format=php-clover coverage.xml | ||
|
||
#after_success: | ||
# - bash <(curl -s https://codecov.io/bash)https://developer.wordpress.org/cli/commands/plugin/install/in |
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
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 |
---|---|---|
@@ -1,19 +1,19 @@ | ||
{ | ||
"name": "duracelltomi/gtm4wp", | ||
"type": "library", | ||
"description": "The most populer Google Tag Manager plugin for WordPress", | ||
"homepage": "https://gtm4wp.com/", | ||
"license": "LGPL-3.0", | ||
"authors": [ | ||
{ | ||
"name": "Thomas Geiger", | ||
"email": "[email protected]" | ||
} | ||
], | ||
"config": { | ||
"bin-dir": "bin" | ||
}, | ||
"require-dev": { | ||
"phpunit/phpunit": "^4.8.35 || 5.* || 6.*" | ||
} | ||
{ | ||
"name": "duracelltomi/gtm4wp", | ||
"type": "library", | ||
"description": "The most populer Google Tag Manager plugin for WordPress", | ||
"homepage": "https://gtm4wp.com/", | ||
"license": "LGPL-3.0", | ||
"authors": [ | ||
{ | ||
"name": "Thomas Geiger", | ||
"email": "[email protected]" | ||
} | ||
], | ||
"config": { | ||
"bin-dir": "bin" | ||
}, | ||
"require-dev": { | ||
"phpunit/phpunit": "^4.8.35 || 5.* || 6.*" | ||
} | ||
} |
Oops, something went wrong.