forked from CMB2/CMB2
-
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.
Merge branch 'trunk' into repeatable-css-rewrite
- Loading branch information
Showing
220 changed files
with
5,857 additions
and
2,945 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,54 +1,62 @@ | ||
language: php | ||
|
||
php: | ||
- 5.3 | ||
- 5.4 | ||
- 5.5 | ||
- 5.6 | ||
- 7.0 | ||
- hhvm | ||
- nightly | ||
|
||
- 5.3 | ||
- 5.4 | ||
- 5.5 | ||
- 5.6 | ||
- 7.0 | ||
- hhvm | ||
- nightly | ||
env: | ||
- WP_VERSION=latest WP_MULTISITE=0 | ||
- WP_VERSION=latest WP_MULTISITE=1 | ||
- WP_VERSION=3.8 WP_MULTISITE=0 | ||
- WP_VERSION=3.8 WP_MULTISITE=1 | ||
|
||
- WP_VERSION=latest WP_MULTISITE=0 | ||
- WP_VERSION=latest WP_MULTISITE=1 | ||
- WP_VERSION=3.8 WP_MULTISITE=0 | ||
- WP_VERSION=3.8 WP_MULTISITE=1 | ||
matrix: | ||
fast_finish: true | ||
allow_failures: | ||
- env: WP_VERSION=3.8 WP_MULTISITE=0 | ||
php: nightly | ||
- env: WP_VERSION=3.8 WP_MULTISITE=1 | ||
php: nightly | ||
- env: WP_VERSION=latest WP_MULTISITE=0 | ||
php: nightly | ||
- env: WP_VERSION=latest WP_MULTISITE=1 | ||
php: nightly | ||
- env: WP_VERSION=3.8 WP_MULTISITE=0 | ||
php: 7.0 | ||
- env: WP_VERSION=3.8 WP_MULTISITE=1 | ||
php: 7.0 | ||
|
||
before_script: | ||
- bash tests/bin/install-wp-tests.sh wordpress_test root '' localhost $WP_VERSION | ||
|
||
- env: WP_VERSION=3.8 WP_MULTISITE=0 | ||
php: nightly | ||
- env: WP_VERSION=3.8 WP_MULTISITE=1 | ||
php: nightly | ||
- env: WP_VERSION=latest WP_MULTISITE=0 | ||
php: nightly | ||
- env: WP_VERSION=latest WP_MULTISITE=1 | ||
php: nightly | ||
- env: WP_VERSION=3.8 WP_MULTISITE=0 | ||
php: 7.0 | ||
- env: WP_VERSION=3.8 WP_MULTISITE=1 | ||
php: 7.0 | ||
before_script: # Make PHP 7 test work. https://github.com/CMB2/CMB2/pull/885 | ||
- export PATH="$HOME/.composer/vendor/bin:$PATH" | ||
- | | ||
if [[ ${TRAVIS_PHP_VERSION:0:2} == "7." ]]; then | ||
composer global require "phpunit/phpunit=5.7.*" | ||
else | ||
composer global require "phpunit/phpunit=4.8.*" | ||
fi | ||
- bash tests/bin/install-wp-tests.sh wordpress_test root '' localhost $WP_VERSION | ||
- phpunit --version | ||
script: if [[ latest == $WP_VERSION ]]; then phpunit --coverage-clover=coverage.clover; else phpunit --exclude-group cmb2-rest-api --coverage-clover=coverage.clover; fi | ||
|
||
after_script: | ||
- wget https://scrutinizer-ci.com/ocular.phar | ||
- php ocular.phar code-coverage:upload --format=php-clover coverage.clover | ||
|
||
- wget https://scrutinizer-ci.com/ocular.phar | ||
- php ocular.phar code-coverage:upload --format=php-clover coverage.clover | ||
branches: | ||
only: | ||
- master | ||
- trunk | ||
|
||
only: | ||
- master | ||
- trunk | ||
notifications: | ||
slack: | ||
rooms: | ||
- secure: g3L0XaiaUjUeBoNMLXx4pdz+7JudZhFGPY1mOX1WkC4B0zo+M/tGdhLLz/ | ||
on_success: never | ||
on_failure: change | ||
webhooks: | ||
urls: | ||
- https://webhooks.gitter.im/e/00b1df026574cdaeb815 | ||
on_success: change # options: [always|never|change] default: always | ||
on_failure: always # options: [always|never|change] default: always | ||
- https://webhooks.gitter.im/e/00b1df026574cdaeb815 | ||
on_success: never # options: [always|never|change] default: always | ||
on_failure: change # options: [always|never|change] default: always | ||
on_start: false # default: false | ||
email: | ||
on_success: never # default: change | ||
on_failure: always # default: always |
Large diffs are not rendered by default.
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
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 |
---|---|---|
|
@@ -39,8 +39,8 @@ module.exports = function(grunt) { | |
}, | ||
processPot: function( pot, options ) { | ||
pot.headers['report-msgid-bugs-to'] = 'http://wordpress.org/support/plugin/cmb2'; | ||
pot.headers['last-translator'] = 'WebDevStudios [email protected]'; | ||
pot.headers['language-team'] = 'WebDevStudios [email protected]'; | ||
pot.headers['last-translator'] = 'CMB2 Team [email protected]'; | ||
pot.headers['language-team'] = 'CMB2 Team [email protected]'; | ||
var today = new Date(); | ||
pot.headers['po-revision-date'] = today.getFullYear() +'-'+ ( today.getMonth() + 1 ) +'-'+ today.getDate() +' '+ today.getUTCHours() +':'+ today.getUTCMinutes() +'+'+ today.getTimezoneOffset(); | ||
return pot; | ||
|
Oops, something went wrong.