Julia Amosova
defbcc456e
Adjust `npm install` in travis / docker setup
2019-12-03 22:21:41 +00:00
Julia Amosova
51fcf56ecb
Increase wait time for the docker container to start
2019-12-03 21:00:46 +00:00
Julia Amosova
9e4f55a82f
More tweaks to Travis / Docker setup
2019-12-03 20:34:40 +00:00
Julia Amosova
d04d862c95
Add npm install to Travis / Docker setup
2019-12-03 19:56:03 +00:00
Julia Amosova
4c8c4a8dbf
Adjust Travis + Docker setup
2019-12-03 18:43:33 +00:00
Julia Amosova
7b7473f917
Add `npm install` to the Travis implementation for running e2e tests
2019-11-27 00:25:11 +00:00
Julia Amosova
a7e582b1bb
Update docker-compose file & setup running e2e tests on Travis CI
2019-11-26 20:34:00 +00:00
Julia Amosova
11a8cbdf79
Merge branch 'master' into new/puppeteer-screenshot-tester
2019-10-18 00:16:22 +01:00
Julia Amosova
560f64d212
Remove Selenium e2e tests & add Puppeteer new product e2e test
2019-08-27 13:22:24 +01:00
Julia Amosova
b3b3b15f6d
Add development mode for running e2e tests
2019-08-23 18:02:13 +01:00
Julia Amosova
337b134c10
Implement Puppeteer architecture & add basic test
2019-08-23 11:34:07 +01:00
Gerhard
862c43c553
xvfb needs to be started in before_script
2019-08-05 14:43:54 +02:00
Gerhard
a6eda46b97
npm run
2019-07-25 15:55:33 +02:00
Gerhard
e8dff32c88
Use correct variable to trigger visual regression test
2019-07-25 15:28:07 +02:00
Gerhard
af39fb7e5f
Hook up new run-vis-regression.sh script, do not run unit tests on vis regression tests
2019-07-25 13:12:24 +02:00
Gerhard
5db83f1699
First go at setting up travis to run vis regression tests.
2019-07-24 13:20:41 +02:00
Claudio Sanches
80f1e2fba2
Remove all support for PHP 5.2 in Travis
2019-07-18 23:01:14 -03:00
Gerhard
0e50e2319c
Cleaning up
2019-07-14 17:16:31 +02:00
Gerhard
712969981c
Remove extra folder
2019-07-14 17:04:59 +02:00
Gerhard
689d66dae3
npm install, debugging info
2019-07-14 17:01:38 +02:00
Gerhard
d3cc901612
Params needs to be first
2019-07-14 16:56:07 +02:00
Gerhard
abee4e68c2
Use TRAVIS_BUILD_DIR constant
2019-07-14 16:17:57 +02:00
Gerhard
a04f182edb
Do not install branch from zip, rather used checked out copy instead.
2019-07-14 16:12:16 +02:00
Gerhard
ba1b684f33
Plugin folder auto renamed to woocommerce
2019-07-14 15:57:11 +02:00
Gerhard
ebe9648fed
Branch is manually installed, must go to branch directory and compile from there.
2019-07-12 17:06:45 +02:00
Gerhard
bd06f94d01
Introduce grunt e2e-build task and exclude jshint from that.
2019-07-12 16:28:31 +02:00
Gerhard
7ab046bee4
Move grunt call to run-e2e-ci.sh
2019-07-12 16:14:11 +02:00
Gerhard
b1514ca9a0
Run grunt in travis before_script
2019-07-12 16:09:55 +02:00
Gerhard
5122641be0
Add wc update cli call to the e2e test install. This should fix outdated/missing tables and routines.
2019-07-10 09:20:37 +02:00
Gerhard
7038c73ab4
Merge branch 'master' into update/exclude-compiled-assets-from-git
2019-07-09 10:57:40 +02:00
Peter Fabian
8c0bf2795f
Install sniffs only when running PHPCS.
2019-07-04 10:17:39 +02:00
Rodrigo Primo
bb78174c33
Remove references to apigen from configuration files
...
Commit d6bd82865c
removed apigen from
WooCommerce core repository as we are moving it to its own repository (https://github.com/woocommerce/woocommerce-api-docs ). This
commit removes the apigen from configuration files. In most cases, it is
just removing the apigen directory from the exclude list of things like
PHPCS and Code Climate.
2019-06-28 10:20:30 -03:00
Gerhard
9300c3436b
Run grunt css and js before running e2e tests
2019-05-07 10:56:46 +02:00
Ian Jenkins
dd67ee2e28
Minor fixes for things noticed when running tests locally.
...
Was using a directory other than /tmp for temp dir and it was failing,
this was the changes I had to make.
2019-04-10 23:01:44 +01:00
Rodrigo Primo
61a096d871
Fix PHPCS in the Travis builds
...
PR https://github.com/woocommerce/woocommerce/pull/23082 made some changes to the Travis configuration and one of those changes broke the PHPCS when running inside Travis with the following error:
```
ERROR: Referenced sniff "WooCommerce-Core" does not exist
```
For example: https://travis-ci.org/woocommerce/woocommerce/jobs/509471213#L659
This problem went unnoticed during the PR review as no PHP file was modified in it and thus there was no file for PHPCS to check.
This commit fixes the error above by installing the Composer package `woocommerce/woocommerce-sniffs` which is the package that provides `WooCommerce-Core` sniffs and which installs `wp-coding-standards/wpcs` as one of its requirements. I couldn't find an easy way to make this work installing `woocommerce/woocommerce-sniffs` globally so that is why this commit also removes the `global` parameter when calling composer.
2019-03-21 15:23:42 -03:00
Gerhard
e9e64dc30a
Use vendor bin folder for calling phpunit
2019-03-19 15:41:43 +02:00
Gerhard
441c79ee41
Fix syntax error in shell script
2019-03-19 15:31:49 +02:00
Gerhard
0a1eb076ea
Add PHPUnit call fallback for 5.2 specifically
2019-03-19 15:23:36 +02:00
Gerhard
a59969ca53
Do not try to run composer on PHP 5.2 and default to phpunit command instead of specifying path, travis will first try and look for in the composer dirs.
2019-03-19 14:30:54 +02:00
Gerhard
d391e87fc7
Update PHPUnit location
2019-03-19 13:47:26 +02:00
Gerhard
dc99c30772
Move phpunit call after first params
2019-03-19 13:33:21 +02:00
Gerhard
b105550b47
Changes to travis, globally install phpunit and wpcs when required, cache vendor and composer cache directories
2019-03-19 13:14:42 +02:00
Claudio Sanches
82c1f8f81b
Merge pull request #22634 from outis/fix-sed-pw
...
Fix sed pw
2019-02-06 14:43:32 -02:00
Mike Jolley
34dbf96847
Merge pull request #22410 from woocommerce/remove/simplify-commerce
...
Remove simplify commerce gateway from core
2019-02-04 11:23:23 +00:00
Galen Wright-Watson
8627fc39b9
Update: install script-escape forward & backward slashes and ampersand in supplied password.
2019-01-31 13:09:24 -08:00
Galen Wright-Watson
baeccdc547
Fix: #22577-"bad flag in substitute command" if password has a '/' character. Cause: unescaped special characters (forward slash) in variable get interpreted as part of sed script. Soln: escape forward slashes when interpolating into sed script.
2019-01-26 23:53:02 -08:00
Gerhard
cadcad2c6a
Add the -s param to the PHPCS command to see the rules it is failing again when running the precommit hook.
2019-01-17 13:23:14 +02:00
Mike Jolley
9d381d456b
Remove simplify commerce gateway
2019-01-10 12:01:27 +00:00
Rodrigo Primo
644f6b1cba
Use separate Travis build jobs to run e2e tests and PHPCS
...
This commit creates two new Travis build jobs, one to run the e2e tests and another to run PHPCS. Doing this, instead of running those two checks in the same build job as the PHP 7.2 unit tests, should make the total build time shorter and it should make it easier to see why the build failed.
2018-12-06 09:14:13 -02:00
Rodrigo Primo
8b85eee2d0
Ignore WP beta releases when setting WP_TESTS_TAG
...
This commit changes the regular expression used to determine the WP_TESTS_TAG variable to ignore WP beta releases otherwise install_test_suite() will fail to download the test suite. This is part of workaround to run WooCommerce unit tests using PHP 7.3 and WP 5.0 beta-5.
2018-11-20 14:43:38 -02:00