2014-09-01 06:03:52 +00:00
|
|
|
language: php
|
|
|
|
|
2015-02-03 16:43:01 +00:00
|
|
|
sudo: false
|
|
|
|
|
|
|
|
php:
|
|
|
|
- 5.3
|
|
|
|
- 5.4
|
|
|
|
- 5.5
|
|
|
|
- 5.6
|
|
|
|
|
|
|
|
env:
|
|
|
|
- WP_VERSION=latest WP_MULTISITE=0
|
2015-04-23 16:18:20 +00:00
|
|
|
- WP_VERSION=4.2 WP_MULTISITE=0
|
2015-02-03 16:43:01 +00:00
|
|
|
- WP_VERSION=4.1 WP_MULTISITE=0
|
|
|
|
- WP_VERSION=4.0 WP_MULTISITE=0
|
|
|
|
|
2014-09-01 06:03:52 +00:00
|
|
|
matrix:
|
|
|
|
include:
|
2015-02-03 16:43:01 +00:00
|
|
|
- php: 5.3
|
|
|
|
env: WP_VERSION=latest WP_MULTISITE=1
|
2014-09-01 06:03:52 +00:00
|
|
|
|
|
|
|
before_script:
|
2014-09-22 19:15:16 +00:00
|
|
|
- bash tests/bin/install.sh woocommerce_test root '' localhost $WP_VERSION
|
|
|
|
- bash tests/bin/travis.sh before
|
2014-09-01 06:03:52 +00:00
|
|
|
|
2014-11-25 23:06:31 +00:00
|
|
|
script: phpunit -c phpunit.xml.dist
|
2014-09-07 18:53:33 +00:00
|
|
|
|
|
|
|
after_script:
|
2014-09-22 19:15:16 +00:00
|
|
|
- bash tests/bin/travis.sh after
|
2014-11-24 14:25:19 +00:00
|
|
|
- wget https://scrutinizer-ci.com/ocular.phar
|
2014-11-25 23:06:31 +00:00
|
|
|
- php ocular.phar code-coverage:upload --format=php-clover ./tmp/clover.xml
|