Merge pull request #23106 from rodrigoprimo/travis-chromedriver

Only install Chrome and Nginx in the build job that uses it
This commit is contained in:
Mike Jolley 2019-03-27 11:54:59 +00:00 committed by GitHub
commit aa301bda4c
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 5 additions and 6 deletions

View File

@ -1,12 +1,6 @@
language: php
dist: trusty
addons:
chrome: stable
apt:
packages:
- nginx
sudo: false
cache:
@ -40,6 +34,11 @@ matrix:
- name: "e2e tests"
php: 7.2
env: WP_VERSION=latest WP_MULTISITE=0 RUN_E2E=1
addons:
chrome: stable
apt:
packages:
- nginx
- name: "Unit tests code coverage"
php: 7.3
env: WP_VERSION=latest WP_MULTISITE=0 RUN_CODE_COVERAGE=1