forked from pods-framework/pods
-
Notifications
You must be signed in to change notification settings - Fork 0
/
.travis.yml
54 lines (45 loc) · 1.19 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
53
54
language: php
sudo: false
php:
- 7.0
env:
- WP_VERSION=bleeding WP_MULTISITE=0
- WP_VERSION=bleeding-maintenance WP_MULTISITE=0
- WP_VERSION=latest WP_MULTISITE=0
- WP_VERSION=latest WP_MULTISITE=1
matrix:
allow_failures:
- env: WP_VERSION=bleeding WP_MULTISITE=0
- env: WP_VERSION=bleeding-maintenance WP_MULTISITE=0
include:
- php: hhvm
env: WP_VERSION=latest WP_MULTISITE=0
- php: 5.6
env: WP_VERSION=latest WP_MULTISITE=0
- php: 5.3
env: WP_VERSION=3.8 WP_MULTISITE=0
# MariaDB 10.1
- php: 5.6
env: DB=mariadb WP_VERSION=latest WP_MULTISITE=0
addons:
mariadb: 10.1
# MySQL 5.7
- php: 5.6
env: DB=mysql-5.7-dmr WP_VERSION=latest WP_MULTISITE=0
## Cache composer bits
cache:
directories:
- vendor
- $HOME/.composer/cache
before_script:
- travis_retry composer self-update
- travis_retry composer install --no-interaction --prefer-source
- bash bin/install-wp-tests.sh wordpress_test root '' localhost $WP_VERSION
- ln -s . /tmp/wordpress/wp-content/plugins/pods
script:
- vendor/bin/phpunit
branches:
only:
- master
- 2.x
- release/3.0