From c3f92f148f92b59002026d2f0274a7919ea0e723 Mon Sep 17 00:00:00 2001 From: Rodrigo Primo Date: Mon, 2 Dec 2019 11:50:36 -0300 Subject: [PATCH] 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. --- .travis.yml | 12 ++++++------ 1 file changed, 6 insertions(+), 6 deletions(-) diff --git a/.travis.yml b/.travis.yml index ce5c196d9b3..a3c963e5dc6 100644 --- a/.travis.yml +++ b/.travis.yml @@ -30,10 +30,10 @@ matrix: fast_finish: true include: - name: "Coding standard check" - php: 7.2 + php: 7.4 env: WP_VERSION=latest WP_MULTISITE=0 RUN_PHPCS=1 - name: "e2e tests" - php: 7.2 + php: 7.4 env: WP_VERSION=latest WP_MULTISITE=0 RUN_E2E=1 addons: chrome: beta @@ -41,17 +41,17 @@ matrix: packages: - nginx - name: "Unit tests code coverage" - php: 7.3 + php: 7.4 env: WP_VERSION=latest WP_MULTISITE=0 RUN_CODE_COVERAGE=1 - name: "WooCommerce unit tests using WordPress nightly" - php: 7.3 + php: 7.4 env: WP_VERSION=nightly WP_MULTISITE=0 - php: 7.4snapshot env: WP_VERSION=nightly WP_MULTISITE=0 allow_failures: - - php: 7.3 + - php: 7.4 env: WP_VERSION=latest WP_MULTISITE=0 RUN_CODE_COVERAGE=1 - - php: 7.2 + - php: 7.4 env: WP_VERSION=latest WP_MULTISITE=0 RUN_E2E=1 before_script: