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.
This commit is contained in:
Peter Fabian 2020-04-15 18:36:27 +02:00
parent cdfd9e4ae2
commit 7a314a6ebd
1 changed files with 12 additions and 4 deletions

View File

@ -25,10 +25,6 @@ php:
env:
- WP_VERSION=latest WP_MULTISITE=0
- WP_VERSION=5.3 WP_MULTISITE=0
- WP_VERSION=5.2 WP_MULTISITE=0
- WP_VERSION=5.1 WP_MULTISITE=0
- WP_VERSION=5.0 WP_MULTISITE=0
# Additional tests against stable PHP (min version is 5.6)
# and code coverage report.
@ -53,6 +49,18 @@ matrix:
- name: "WooCommerce unit tests using WordPress nightly"
php: 7.4
env: WP_VERSION=nightly WP_MULTISITE=0
- name: "WP latest - 1"
php: 7.2
env: WP_VERSION=5.3 WP_MULTISITE=0
- name: "WP latest - 2"
php: 7.2
env: WP_VERSION=5.2 WP_MULTISITE=0
- name: "WP 5.1"
php: 7.2
env: WP_VERSION=5.1 WP_MULTISITE=0
- name: "WP 5.0"
php: 7.0
env: WP_VERSION=5.0 WP_MULTISITE=0
allow_failures:
- php: 7.4
env: WP_VERSION=latest WP_MULTISITE=0 RUN_CODE_COVERAGE=1