-
Notifications
You must be signed in to change notification settings - Fork 0
/
.travis.yml
53 lines (47 loc) · 1.71 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
48
49
50
51
52
53
language: php
notifications:
email:
on_success: never
on_failure: change
php:
- 5.5
- 5.6
env:
- WP_VERSION=latest WP_MULTISITE=0
- WP_VERSION=4.4 WP_MULTISITE=0
- WP_VERSION=4.3 WP_MULTISITE=0
- WP_VERSION=4.2 WP_MULTISITE=0
- WP_VERSION=4.1 WP_MULTISITE=0
- WP_VERSION=4.0 WP_MULTISITE=0
- WP_VERSION=3.9 WP_MULTISITE=0
- WP_VERSION=3.8 WP_MULTISITE=0
before_script:
- bash bin/install-wp-tests.sh wordpress_test root '' localhost $WP_VERSION
- wget http://getcomposer.org/composer.phar
- php composer.phar install --dev --no-interaction
- wget https://raw.githubusercontent.com/wp-cli/builds/gh-pages/phar/wp-cli.phar
- chmod +x wp-cli.phar
- sudo mv wp-cli.phar /usr/local/bin/wp
- wp plugin install contact-form-7 --activate
- wp plugin install contact-form-builder --activate
- wp plugin install contact-form-plugin --activate
- wp plugin install custom-contact-forms --activate
- wp plugin install si-contact-form --activate
- wp plugin install formidable --activate
- wp plugin install hubspot-tracking-code --activate
- wp plugin install jetpack --activate
- wp plugin install embed-form --activate
- wp plugin install launchpad-by-obox --activate
- wp plugin install leadsquared-suite --activate
- wp plugin install mailchimp-for-wp --activate
- wp plugin install wysija-newsletters --activate
- wp plugin install newsletter --activate
- wp plugin install ninja-forms --activate
- wp plugin install dreamgrow-scroll-triggered-box --activate
- wp plugin install sumome --activate
- wp plugin install visual-form-builder --activate
script:
- mkdir -p build/logs
- phpunit --coverage-clover build/logs/clover.xml
after_script:
- php vendor/bin/coveralls -v