forked from thebrandonallen/edit-author-slug
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy path.travis.yml
45 lines (37 loc) · 969 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
45
# Travis CI Configuration File
# Use new Travis container-based infrastructure
# http://docs.travis-ci.com/user/workers/container-based-infrastructure/
sudo: false
# Tell Travis CI we're using PHP
language: php
php:
- 5.3
- 5.4
- 5.5
- 5.6
env:
- WP_VERSION=master
- WP_VERSION=4.2
- WP_VERSION=4.1
- WP_VERSION=4.0
- WP_VERSION=3.9
- WP_VERSION=3.8
matrix:
fast_finish: true
include:
- php: 5.2
env: WP_VERSION=master
- php: 7.0
env: WP_VERSION=master
- php: hhvm
env: WP_VERSION=master
allow_failures:
- php: 7.0
- php: hhvm
# Clones WordPress and configures our testing environment.
before_script:
- bash bin/install-wp-tests-travis.sh wordpress_test root '' localhost $WP_VERSION
script: phpunit --coverage-clover=coverage.clover
after_script:
- wget https://scrutinizer-ci.com/ocular.phar
- php ocular.phar code-coverage:upload --format=php-clover coverage.clover