Merge pull request #25195 from rodrigoprimo/travis-use-latest-php

Use latest PHP version to run Travis build jobs
This commit is contained in:
Vedanshu Jain 2019-12-26 17:46:52 +05:30 committed by GitHub
commit 6d8ca02ca5
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 5 additions and 4 deletions

View File

@ -33,9 +33,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.4
script:
- npm install
- npm run build
@ -44,13 +45,13 @@ matrix:
after_script:
- docker-compose down -v
- 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
allow_failures:
- php: 7.3
- php: 7.4
env: WP_VERSION=latest WP_MULTISITE=0 RUN_CODE_COVERAGE=1
before_script: