-
Notifications
You must be signed in to change notification settings - Fork 15
/
Copy path.travis.yml
37 lines (28 loc) · 922 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
sudo: false
language: php
notifications:
on_success: never
on_failure: change
php:
- 5.6
- 7.0
before_script:
- bash bin/install-wp-tests.sh wordpress_test root '' localhost $WP_VERSION
- bash bin/build.sh
- composer install
script:
- vendor/bin/phpunit
- npm test
after_success: curl -L https://raw.githubusercontent.com/miya0001/travis2wpplugin/master/deploy.sh | bash
env:
matrix:
- WP_VERSION=latest WP_MULTISITE=0
- WP_VERSION=nightly WP_MULTISITE=0
global:
- SVN_REPO: https://plugins.svn.wordpress.org/simple-map/
- GH_REF: https://github.com/miya0001/simple-map.git
- secure: "ZNGMiXE0/uRCdIy2gNGeaQMCMWnsXy643m9U8UlNtOuUmnkrHzAiDeip/C7A/D1HZqaBFN7gILztSeJls6mR0onw1bjL4ex0Zabh0GUTIsg+5DVOvRjLvCGOMKtkHOxdT90x+QDvlTQcWvl4OMEoKrwX11dwtVxo+XG+/7BR2tQ="
matrix:
include:
- php: 5.6
env: WP_VERSION=latest WP_MULTISITE=0 WP_PULUGIN_DEPLOY=1