From df7db728557ff9c8d5ecde274380e5c331cd8fba Mon Sep 17 00:00:00 2001 From: Christopher Allford Date: Tue, 19 May 2020 07:00:32 -0700 Subject: [PATCH] Cleaned up our Travis config to suit the WP support policy --- .travis.yml | 27 ++++++++++++--------------- 1 file changed, 12 insertions(+), 15 deletions(-) diff --git a/.travis.yml b/.travis.yml index b83de198cf3..106756dd041 100644 --- a/.travis.yml +++ b/.travis.yml @@ -30,9 +30,6 @@ env: jobs: fast_finish: true include: - - name: "Coding standard check" - php: 7.4 - env: WP_VERSION=latest WP_MULTISITE=0 RUN_PHPCS=1 - name: "Core E2E Tests" php: 7.4 env: WP_VERSION=latest WP_MULTISITE=0 RUN_E2E=1 @@ -44,24 +41,24 @@ jobs: - npm run test:e2e after_script: - npm run docker:down - - name: "Unit tests code coverage" - php: 7.4 - env: WP_VERSION=latest WP_MULTISITE=0 RUN_CODE_COVERAGE=1 - - name: "WooCommerce unit tests using WordPress nightly" + - name: "WP Nightly" php: 7.4 env: WP_VERSION=nightly WP_MULTISITE=0 - - name: "WP latest - 1" + - name: "WP Latest" + php: 7.2 + env: WP_VERSION=5.4 WP_MULTISITE=0 + - name: "WP Latest - 1" php: 7.2 env: WP_VERSION=5.3 WP_MULTISITE=0 - - name: "WP latest - 2" + - 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 + - name: "Code Standards" + php: 7.4 + env: WP_VERSION=latest WP_MULTISITE=0 RUN_PHPCS=1 + - name: "Code Coverage" + php: 7.4 + env: WP_VERSION=latest WP_MULTISITE=0 RUN_CODE_COVERAGE=1 allow_failures: - php: 7.4 env: WP_VERSION=latest WP_MULTISITE=0 RUN_CODE_COVERAGE=1