Skip to content

Commit

Permalink
Merge branch 'develop'
Browse files Browse the repository at this point in the history
  • Loading branch information
Josh Pollock committed May 29, 2019
2 parents f4aa624 + 6a6fd03 commit 468e0ab
Show file tree
Hide file tree
Showing 1,026 changed files with 26,073 additions and 99,084 deletions.
2 changes: 2 additions & 0 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -24,3 +24,5 @@ wp-test-case

#https://getcomposer.org/doc/faqs/should-i-commit-the-dependencies-in-my-vendor-directory.md
/vendor/**/.git

!assets/build/
39 changes: 31 additions & 8 deletions .travis.yml
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,8 @@ sudo: false
language: php

php:
- '7.3'
- '7.2'
- '7.1'
- '7.0'
- '5.6'
Expand All @@ -22,14 +24,16 @@ env:

matrix:
include:
- php: 7.1
env: WP_VERSION=trunk TEST_JS=yes
- php: 7.1
- php: 7.2
env: WP_VERSION=latest TEST_JS=yes
- php: 7.2
env: WP_VERSION=latest WP_MULTISITE=1
- php: 7.1
env: WP_VERSION=4.8
- php: 7.1
env: WP_VERSION=4.7.11
- php: 7.2
env: WP_VERSION=5.1
- php: 7.2
env: WP_VERSION=5.0
- php: 7.2
env: WP_VERSION=4.9

before_script:
- export PATH="$HOME/.composer/vendor/bin:$PATH"
Expand All @@ -43,7 +47,26 @@ before_script:
- |
if [[ ! -z "$WP_VERSION" ]] ; then
bash bin/install-wp-tests.sh wordpress_test root '' localhost $WP_VERSION
composer global require "phpunit/phpunit=4.8.*|5.7.*"
if [[ "$WP_TRAVISCI" == "travis:phpunit" ]]; then
case "$TRAVIS_PHP_VERSION" in
7.4snapshot|7.3|7.2|7.1|nightly)
echo "Using PHPUnit 7.x"
travis_retry composer global require "phpunit/phpunit:^7"
;;
7.0)
echo "Using PHPUnit 6.x"
travis_retry composer global require "phpunit/phpunit:^6"
;;
5.6)
echo "Using PHPUnit 4.x"
travis_retry composer global require "phpunit/phpunit:^4"
;;
*)
echo "No PHPUnit version handling for PHP version $TRAVIS_PHP_VERSION"
exit 1
;;
esac
fi
fi
- |
if [[ "$WP_TRAVISCI" == "phpcs" ]] ; then
Expand Down
14 changes: 11 additions & 3 deletions Gruntfile.js
Original file line number Diff line number Diff line change
Expand Up @@ -41,7 +41,9 @@ module.exports = function (grunt) {
'!.env',
'!db-error.php',
'!webpack.config.js',
'!docker-compose.yml'
'!docker-compose.yml',
'!wp-content/**',
'!wordpress/**'
];

//Include webpacked clients
Expand Down Expand Up @@ -287,7 +289,8 @@ module.exports = function (grunt) {


exec: {
composerDist: 'composer clearcache && composer update --prefer-dist --no-dev --optimize-autoloader --ignore-platform-reqs'
deleteVendor: 'rm -rf vendor'
composerDist: 'composer clearcache && rm -rf vendor && composer update --prefer-dist --no-dev --optimize-autoloader --ignore-platform-reqs'
}

});
Expand All @@ -307,7 +310,12 @@ module.exports = function (grunt) {

grunt.registerTask( 'version_number', [ 'replace' ] );
grunt.registerTask( 'build', [ 'version_number', 'default', 'make' ] );
grunt.registerTask( 'make', [ 'exec:composerDist', 'mkdir:build', 'copy:build' ] );
grunt.registerTask( 'make', [
'exec:deleteVendor',
'exec:composerDist',
'mkdir:build',
'copy:build'
] );



Expand Down
2 changes: 1 addition & 1 deletion assets/build/css/admin.min.css

Large diffs are not rendered by default.

2 changes: 1 addition & 1 deletion assets/build/css/caldera-alert.min.css

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion assets/build/css/caldera-form.min.css

Large diffs are not rendered by default.

2 changes: 1 addition & 1 deletion assets/build/css/caldera-forms-front.min.css

Large diffs are not rendered by default.

2 changes: 1 addition & 1 deletion assets/build/css/caldera-table.min.css

Large diffs are not rendered by default.

2 changes: 1 addition & 1 deletion assets/build/css/editor-grid.min.css

Large diffs are not rendered by default.

2 changes: 1 addition & 1 deletion assets/build/css/entry-viewer-2.min.css

Large diffs are not rendered by default.

59 changes: 59 additions & 0 deletions assets/build/css/fields.min.css

Large diffs are not rendered by default.

2 changes: 1 addition & 1 deletion assets/build/css/modals.min.css

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

Loading

0 comments on commit 468e0ab

Please sign in to comment.