-
Notifications
You must be signed in to change notification settings - Fork 1
/
.travis.yml
52 lines (43 loc) · 1.14 KB
/
.travis.yml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
language: php
services:
- mysql
sudo: false
install:
- travis_retry composer self-update
- travis_retry composer install --no-interaction --prefer-source
before_script:
- bash vendor/frozzare/wp-test-suite/bin/install-wp-tests.sh wordpress_test root '' 127.0.0.1 $WP_VERSION
script:
- vendor/bin/phpunit --coverage-clover clover.xml
after_script:
- wget https://scrutinizer-ci.com/ocular.phar
- bash <(curl -s https://codecov.io/bash)
matrix:
include:
- php: 7.0
env: WP_VERSION=4.9.13 WP_MULTISITE=0
- php: 7.0
env: WP_VERSION=latest WP_MULTISITE=0
- php: 7.1
env: WP_VERSION=nightly WP_MULTISITE=0
- php: 7.2
env: WP_VERSION=4.9.13 WP_MULTISITE=0
- php: 7.2
env: WP_VERSION=latest WP_MULTISITE=0
- php: 7.2
env: WP_VERSION=nightly WP_MULTISITE=0
- php: 7.3
env: WP_VERSION=latest WP_MULTISITE=0
- php: 7.3
env: WP_VERSION=nightly WP_MULTISITE=0
- php: 7.4
env: WP_VERSION=latest WP_MULTISITE=0
- php: 7.4
env: WP_VERSION=nightly WP_MULTISITE=0
fast_finish: true
cache:
directories:
- $HOME/.composer/cache
branches:
only:
- master