-
Notifications
You must be signed in to change notification settings - Fork 3
/
.travis.yml
47 lines (38 loc) · 1.1 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
# Travis CI Configuration File
# Tell Travis CI we're using PHP
language: php
# Versions of PHP to test against
php:
- 5.5
- 5.4
- 5.3
# Specify versions of WordPress to test against
# WP_VERSION = WordPress version number (use "master" for SVN trunk)
# WP_MULTISITE = whether to test multisite (use either "0" or "1")
env:
- WP_VERSION=master WP_MULTISITE=0
- WP_VERSION=3.9 WP_MULTISITE=0
- WP_VERSION=3.8.3 WP_MULTISITE=0
- WP_VERSION=3.7.3 WP_MULTISITE=0
- WP_VERSION=3.6.1 WP_MULTISITE=0
- WP_VERSION=3.5.2 WP_MULTISITE=0
- WP_VERSION=master WP_MULTISITE=1
- WP_VERSION=3.9 WP_MULTISITE=1
matrix:
allow_failures:
- env: WP_VERSION=3.6.1 WP_MULTISITE=0
php: 5.5
- env: WP_VERSION=3.7.3 WP_MULTISITE=0
php: 5.5
before_install:
- sudo apt-get update -qq
- sudo apt-get install -qq ffmpeg
# Grab the setup script and execute
before_script:
- composer self-update
- composer install --dev --no-interaction
- wget https://raw.github.com/tierra/wordpress-plugin-tests/setup/setup.sh
- source setup.sh
script: phpunit
after_script:
- php vendor/bin/coveralls -v