Commit Graph

157 Commits

Author SHA1 Message Date
Christopher Allford df7db72855 Cleaned up our Travis config to suit the WP support policy 2020-05-19 07:00:32 -07:00
Ron Rennick 0e2e91371a update for review items 2020-05-06 13:29:13 -03:00
Ron Rennick 4af4d29952 Simplify nodejs caching directive
- per https://docs.travis-ci.com/user/caching/
2020-05-04 11:31:14 -03:00
Ron Rennick 71fb49dc06 restore latest default.json from master 2020-05-01 13:28:59 -03:00
Ron Rennick 78e777f25f restore travis e2e setup script 2020-05-01 10:18:21 -03:00
Ron Rennick 6726f6423d merge travis config files 2020-04-30 19:58:37 -03:00
Ron Rennick 7fbbbf6608 update travis config 2020-04-30 16:43:36 -03:00
Ron Rennick d41fbc7ff2 update folder structure, use WordPress 5.4 2020-04-28 19:09:39 -03:00
Ron Rennick da494be615 merge master 2020-04-28 16:13:30 -03:00
Christopher Allford df27e1b361
Merge branch 'master' into fix/supported-wp-version-travis-update 2020-04-16 15:16:05 -07:00
Peter Fabian 7a314a6ebd Reduce the number of tests to run.
Just test with one PHP version, so that it doesn't take more than 30 minutes to finish.
2020-04-15 18:36:27 +02:00
Peter Fabian cdfd9e4ae2 Test all supported WordPress versions. 2020-04-15 13:07:51 +02:00
Peter Fabian a57de7d6a2 Minimum version is no longer PHP 5.6, but PHP 7.0 2020-04-15 13:05:59 +02:00
Ron Rennick b80b942428 remove the Travis config import 2020-04-14 12:06:26 -06:00
Ron Rennick 049d606b15 use consistent job name 2020-04-14 12:06:26 -06:00
Ron Rennick 393240a0f3 move e2e-env to tests/e2e-env 2020-04-14 12:06:25 -06:00
Ron Rennick c414eddf59 merge config from from https://github.com/woocommerce/woocommerce-admin/pull/3717 2020-04-14 12:06:25 -06:00
Christopher Allford 09df1205de Updated the minimum PHP version to 7.0 2020-04-06 17:07:33 -07:00
Steve Grunwell 70e7a8ed08 Add a Travis CI build using the minimum WooCommerce requirements
The current build matrix is always testing against the latest version of WordPress, but WooCommerce officially supports WordPress 5.0 and newer.
2020-03-11 15:42:40 +00:00
Brent Sessions eb35a1ba84 Move nvm update 2020-02-18 12:43:05 -07:00
Brent Sessions 3a180b98fe pull in latest version 2020-02-18 13:37:58 -05:00
Brent Sessions 9c2034a439 Trying to run with specific node version 2020-02-18 13:35:39 -05:00
Peter Fabian a438c3548e Install i18n during e2e tests
This should make npm run build succeed again.
2020-02-05 17:16:00 +01:00
Peter Fabian 05213db8e9 Run npm install before composer in all tests. 2020-02-03 15:56:48 +01:00
Peter Fabian 5abc1d9427 composer install can only run after npm install as it uses npm package to fix the textdomain. 2020-02-03 14:50:39 +01:00
Rodrigo Primo 70553c52aa Merge remote-tracking branch 'upstream/master' into travis-use-latest-php 2019-12-20 09:17:03 -03:00
Julia Amosova 72315ce39d
Merge pull request #24218 from woocommerce/new/puppeteer-screenshot-tester
Migrate E2E Test Suite from Selenium Webdriver to Puppeteer
2019-12-20 10:34:02 +00:00
Christopher Allford 181df5ad21
Merge pull request #25194 from rodrigoprimo/php-7.4-travis
Use PHP 7.4 instead of PHP 7.4snapshot in Travis
2019-12-18 17:47:45 -05:00
Julia Amosova 1658dd3962 Make setup wizard test more stable 2019-12-15 22:55:39 +00:00
Julia Amosova f9a9fbc2c7 Pass jest exit code to npm 2019-12-15 22:34:35 +00:00
Julia Amosova 88fa2885fc Update jest version 2019-12-15 19:13:28 +00:00
Julia Amosova 25a8664456 Add stopping container and deleting volumes 2019-12-15 17:11:46 +00:00
Julia Amosova 53dcdd77b3 Update Docker + Travis setup 2019-12-15 13:09:29 +00:00
Julia Amosova defbcc456e Adjust `npm install` in travis / docker setup 2019-12-03 22:21:41 +00:00
Julia Amosova 8fb30e8f5b Add `npm run build` to travis / docker setup 2019-12-03 21:24:58 +00:00
Julia Amosova f95e3c0e11 More Travis + Docker setup tweaks 2019-12-03 19:17:32 +00:00
Julia Amosova 4b26146613 Additional Travis + Docker setup tweaks 2019-12-03 19:07:43 +00:00
Julia Amosova 37e367f379 Resolve conflicts with master branch 2019-12-03 18:49:28 +00:00
Julia Amosova 4c8c4a8dbf Adjust Travis + Docker setup 2019-12-03 18:43:33 +00:00
Rodrigo Primo c3f92f148f Use latest PHP version to run Travis build jobs
This commit updates Travis configuration to use the latest PHP version
to run build jobs for e2e tests, coding standard checks, unit test code
coverage and for running unit tests using WP nightly. For those jobs we
want to always use the latest PHP version.
2019-12-02 11:50:36 -03:00
Rodrigo Primo 1ce283eb65 Use PHP 7.4 instead of PHP 7.4snapshot in Travis
This commit simply updates the PHP 7.4 version that is used in Travis
now that PHP 7.4 has been officially released. Previously we were using
RC versions to test the upcoming release.
2019-12-02 11:15:38 -03:00
Julia Amosova a7e582b1bb Update docker-compose file & setup running e2e tests on Travis CI 2019-11-26 20:34:00 +00:00
Gerhard e0e05928c8 Move E2E tests to allowed_failures section while we wrap up new e2e tests. 2019-11-25 13:37:30 +02:00
Rodrigo Primo 3482dd3a79 Remove PHP 7.4 job from the list of Travis jobs allowed to fail
Now that WP fixed all the PHP 7.4 related notices and that the WC unit
tests are passing when running against this PHP version, we can remove
the PHP 7.4 from the list of Travis jobs that are allowed to fail.
2019-09-23 14:38:27 -03:00
Rodrigo Primo 9399224f9e Add PHP 7.4 to the list of Travis build jobs
This commit adds the upcoming PHP 7.4 to the list of Travis build jobs
so that we can start testing WooCommerce with this new version of PHP
that is scheduled to be released in November.
2019-08-23 08:34:30 -03:00
Gerhard 4eae977494 Chrome beta 2019-08-05 15:09:49 +02:00
Gerhard e7ce889c9c Use start-stop deamon 2019-08-05 14:52:43 +02:00
Gerhard 862c43c553 xvfb needs to be started in before_script 2019-08-05 14:43:54 +02:00
Gerhard 5a9cb3e862 Include headless browser in services 2019-08-05 14:34:42 +02:00
Gerhard a58cced761 Instruct mysql to start 2019-08-05 14:33:51 +02:00