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
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
Gerhard
4b624bc477
Xenial not Bionic
2019-08-05 14:29:09 +02:00
Gerhard
c078fdb9e1
Update travis dist to bionic, bionic has support for PHP 5.6 and up.
2019-08-05 14:20:22 +02:00
Claudio Sanches
d09009261f
Fixed UnitTests in PHP 5.6
2019-07-18 22:46:28 -03:00
Claudio Sanches
838dd31e00
Updated PHPUnit in Travis
2019-07-18 22:09:12 -03:00
Claudio Sanches
da99bc8ca0
Merge branch 'master' into feature/feature-plugin-packages
2019-07-08 14:33:21 -03:00
Peter Fabian
8c0bf2795f
Install sniffs only when running PHPCS.
2019-07-04 10:17:39 +02:00
Mike Jolley
3b974da08f
Update readme and contributing docs
2019-06-26 17:20:47 +01:00
Mike Jolley
ddc8ccf104
Fix travis config
2019-06-26 17:02:31 +01:00
Mike Jolley
26391f3fb6
composer install for travis
2019-06-26 16:25:16 +01:00
Peter Fabian
c4b48eb64e
Fix WP version to 5.1.1, last one that supports PHP < 5.6.
2019-06-13 15:43:59 +02:00
Gerhard
a2953da9ad
Bump minimum PHP version to 5.6, update travis to remove 5.2 and 5.3 tests.
2019-06-13 11:28:18 +02:00
Mike Jolley
aa301bda4c
Merge pull request #23106 from rodrigoprimo/travis-chromedriver
...
Only install Chrome and Nginx in the build job that uses it
2019-03-27 11:54:59 +00:00
Rodrigo Primo
6001b0177e
Only install Chrome and Nginx in the build job that uses it
...
This commit changes Travis configuration to only install Chrome and Nginx in the e2e tests build job, which is the only one that requires those packages. This change should save a little bit of time in the Travis build as before Travis was installing Chrome and Nginx in all the jobs.
2019-03-21 15:44:02 -03:00