-
Notifications
You must be signed in to change notification settings - Fork 12
/
.travis.yml
38 lines (32 loc) · 1.29 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
language: php
sudo: false
php:
- 5.2
- 5.6
- 7.0
env:
- WP_VERSION=master WP_MULTISITE=0 WPDB_DRIVER=mysql
- WP_VERSION=4.4 WP_MULTISITE=0 WPDB_DRIVER=mysql
- WP_VERSION=4.3 WP_MULTISITE=0 WPDB_DRIVER=mysql
- WP_VERSION=4.2 WP_MULTISITE=0 WPDB_DRIVER=mysql
- WP_VERSION=4.1 WP_MULTISITE=0 WPDB_DRIVER=mysql
- WP_VERSION=master WP_MULTISITE=0 WPDB_DRIVER=mysqli
- WP_VERSION=4.4 WP_MULTISITE=0 WPDB_DRIVER=mysqli
- WP_VERSION=4.3 WP_MULTISITE=0 WPDB_DRIVER=mysqli
- WP_VERSION=4.2 WP_MULTISITE=0 WPDB_DRIVER=mysqli
- WP_VERSION=4.1 WP_MULTISITE=0 WPDB_DRIVER=mysqli
- WP_VERSION=master WP_MULTISITE=0 WPDB_DRIVER=pdo_mysql
- WP_VERSION=4.4 WP_MULTISITE=0 WPDB_DRIVER=pdo_mysql
- WP_VERSION=4.3 WP_MULTISITE=0 WPDB_DRIVER=pdo_mysql
- WP_VERSION=4.2 WP_MULTISITE=0 WPDB_DRIVER=pdo_mysql
- WP_VERSION=4.1 WP_MULTISITE=0 WPDB_DRIVER=pdo_mysql
matrix:
allow_failures:
- env: WP_VERSION=4.1 WP_MULTISITE=0 WPDB_DRIVER=mysql
- env: WP_VERSION=4.1 WP_MULTISITE=0 WPDB_DRIVER=mysqli
- env: WP_VERSION=4.1 WP_MULTISITE=0 WPDB_DRIVER=pdo_mysql
before_script:
- bash bin/install-wp-tests.sh wordpress_test root '' localhost $WP_VERSION $WP_MULTISITE $WPDB_DRIVER
script:
- cd /tmp/wordpress
- phpunit --group wpdb