Make caching in CI predictable

and properly name `install:`
This commit is contained in:
Viktor Szépe 2020-05-13 00:33:29 +02:00 committed by GitHub
parent 2c192410a2
commit 4fb66b4ebb
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 3 additions and 4 deletions

View File

@ -4,9 +4,8 @@ language: php
dist: xenial
cache:
directories:
- vendor
- $HOME/.composer/cache
directories:
- $HOME/.composer/cache
# Since Xenial services are not started by default, we need to instruct it below to start.
services:
@ -66,7 +65,7 @@ jobs:
- php: 7.4
env: WP_VERSION=latest WP_MULTISITE=0 RUN_CODE_COVERAGE=1
before_script:
install:
- export PATH="$HOME/.composer/vendor/bin:$PATH"
- |
# Remove Xdebug for a huge performance increase: