forked from pods-framework/pods
-
Notifications
You must be signed in to change notification settings - Fork 0
/
.travis.yml
44 lines (36 loc) · 981 Bytes
/
.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
language: php
sudo: false
php:
- 7.0
env:
- WP_VERSION=nightly WP_MULTISITE=0
- WP_VERSION=latest WP_MULTISITE=0
- WP_VERSION=latest WP_MULTISITE=1
matrix:
allow_failures:
- env: WP_VERSION=nightly WP_MULTISITE=0
include:
- php: 7.1
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
# MySQL 5.7
#- env: DB=mysql-5.7 WP_VERSION=latest WP_MULTISITE=0
# MySQL 8.0
#- env: DB=mysql-8.0-dmr WP_VERSION=latest WP_MULTISITE=0
## Cache composer bits
cache:
apt: true
directories:
- vendor
- $HOME/.composer/cache
before_script:
- phpenv config-rm xdebug.ini
- composer self-update
- 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