Commit Graph

31 Commits

Author SHA1 Message Date
Adrian Duffell ae1024dff8 Add autoloading of WooCommerce classes in PHP tests (https://github.com/woocommerce/woocommerce-admin/pull/5650)
* Restore composer install on WooCommerce plugin

Previously removed in c26db640d6

* Remove direct require of wc-install.php

In some contexts, this causes phpunit to halt because of the early exit call in wc-install.php:

defined( 'ABSPATH' ) || exit;

* Add temporary composer 1 downgrade before installing WooCommerce
2020-11-18 10:36:18 +08:00
Jeff Stieler c26db640d6 Update dependencies in prep for Composer 2.x. (https://github.com/woocommerce/woocommerce-admin/pull/5462)
* Update dependencies in prep for Composer 2.x.

* Rollback jetpack autoloader update.

* Restore range versions for composer dependencies, regenerate lock with Composer 1.x.

* Fix PSR-4 Classes (https://github.com/woocommerce/woocommerce-admin/pull/5473)

* PSR-4 class names need to match their filename.

Remove underscores in classnames.

* Fix reported class name in deprecation notice.

* Fix comments.

* We don't need composer dependencies in core WC test setup.

* Update composer lockfile using version 2.x.

* Temporarily turn off error display.

Function deprecation notices are breaking tests.
2020-10-28 13:12:14 -04:00
Ron Rennick aed9216ab6 Use WC 3.8.1 for PHP 5.6 test matrix (https://github.com/woocommerce/woocommerce-admin/pull/3616) 2020-01-23 14:53:42 +08:00
Jeff Stieler a44efefbd6 CI: use PR repo instead of main repo when checking out branches. (https://github.com/woocommerce/woocommerce-admin/pull/3512) 2020-01-03 12:00:40 -05:00
Paul Sealock 9a4369d984 Bump minimum WP version to 5.3 (https://github.com/woocommerce/woocommerce-admin/pull/3393)
* Bump minimum WP version

* Bump min WP version in main README.
2019-12-13 10:05:41 -05:00
Jeff Stieler 2b85bf1bba Install latest stable WC for running builds. (https://github.com/woocommerce/woocommerce-admin/pull/3417)
Occasionally, master breaks the build.
2019-12-13 09:30:21 +13:00
Jeff Stieler e87a23bc75 Fix checkout of master branch in CI environment. (https://github.com/woocommerce/woocommerce-admin/pull/3296) 2019-11-26 13:24:36 -05:00
Paul Sealock 03399a034c Create GH tag release process (https://github.com/woocommerce/woocommerce-admin/pull/3190)
Add core to the release

no need to re-run docs

simplify build command

add gh release script

fix errant comment

fix errant comment

force add feature-config.php

gitattributes

moar attributes

add language files
2019-11-18 11:39:27 +13:00
Jeff Stieler 8b77fe144e Fix plugin installation when working from a push instead of a pull request. (https://github.com/woocommerce/woocommerce-admin/pull/2950) 2019-09-24 08:59:38 -07:00
Jeff Stieler 696b6ca000 Fix pull request branch detection on CI (try #3) (https://github.com/woocommerce/woocommerce-admin/pull/2945)
* Only build pushes to master branch.

* Fix branch detection in CI.

* Remove string interpolation from Travis branch name check.

* Try using PR branch variable as string.
2019-09-24 07:43:14 -07:00
Jeff Stieler 842e9e4d6f Fix pull request branch detection on CI (try #2) (https://github.com/woocommerce/woocommerce-admin/pull/2944)
* Only build pushes to master branch.

* Fix branch detection in CI.

* Remove string interpolation from Travis branch name check.
2019-09-23 15:42:17 -07:00
Jeff Stieler 307f3e1282 Fix pull request branch detection on CI (https://github.com/woocommerce/woocommerce-admin/pull/2942)
* Only build pushes to master branch.

* Fix branch detection in CI.
2019-09-23 15:20:19 -07:00
Paul Sealock d98eceffc7 Revert "Revert "Update to new Snackbar component and notice store"" (https://github.com/woocommerce/woocommerce-admin/pull/2643)
* Revert "Revert "Update to new Snackbar component and notice store""

* Update uploader component to use createNotice

* Bump required WP version to 5.2

* Update required PHP and WP versions in plugin header
2019-07-23 11:26:46 +08:00
Jeff Stieler 431ab61f34 Skip dev dependencies when installing WooCommerce for CI builds. 2019-07-12 11:33:25 -06:00
Paul Sealock 7de10b2d64 right directory 2019-07-12 11:20:10 +12:00
Paul Sealock 98e7c36155 ls to see if json 2019-07-12 11:17:07 +12:00
Paul Sealock 3440617778 Tests setup: bring in Woo Core dependencies 2019-07-12 11:05:48 +12:00
Paul Sealock f739ba57c7 Components: fix README url 2019-04-30 07:55:32 +12:00
Albert Juhé Lluveras 2ca746c5d6 Travis: escape hashes (#) from branch names when downloading the ZIP file (https://github.com/woocommerce/woocommerce-admin/pull/1844) 2019-03-19 16:40:18 +01:00
Justin Shreve 063bea4486 Return an error when installing unit tests if WP < 5 (https://github.com/woocommerce/woocommerce-admin/pull/1645) 2019-02-22 06:31:18 -05:00
Jeff Stieler 2d4aea1971 Only install/activate Gutenberg plugin if WP version under test is earlier than 5.0. 2019-01-22 10:44:00 -07:00
Peter Fabian 09ec5df9c3 Added testing of multiple PHP versions, improve test runtime by optimizing git clone. 2018-11-02 12:34:39 +01:00
Peter Fabian cf847140c3 Only install wc-admin branch if testing on Travis CI. 2018-11-01 17:27:55 +01:00
Peter Fabian dc858b522a Update dependencies installation for testing, corrected db prefix. 2018-09-24 16:26:04 +02:00
Peter Fabian 8f1546fdf7 Updated db prefix. 2018-09-21 21:08:10 +02:00
Peter Fabian 6f40133765 Travis test 13. 2018-09-21 19:23:37 +02:00
Peter Fabian 5be0bdad97 Travis test 10. 2018-09-21 17:07:03 +02:00
Peter Fabian 6546df1506 Travis test 9. 2018-09-21 17:01:04 +02:00
Peter Fabian cfea428209 Travis test 8. 2018-09-21 16:51:22 +02:00
Peter Fabian 6e6b028554 Travis test 7. 2018-09-21 16:37:02 +02:00
Kelly Dwan 555da60b01 Initial commit of plugin scaffold 2018-04-17 17:04:17 -04:00