-
Notifications
You must be signed in to change notification settings - Fork 2
/
.travis.yml
73 lines (72 loc) · 2.25 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
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
language: php
cache:
apt: true
env:
global:
- EE_VERSION=master
matrix:
- WP_VERSION=latest WP_MULTISITE=0
- WP_VERSION=latest WP_MULTISITE=1
- WP_VERSION=4.1 WP_MULTISITE=0
- WP_VERSION=4.1 WP_MULTISITE=1
php:
- 5.3
- 5.4
- 5.5
- 5.6
- 7.0
- 7.1
matrix:
exclude:
- php: 5.3
env: WP_VERSION=4.1 WP_MULTISITE=1
- php: 5.3
env: WP_VERSION=latest WP_MULTISITE=1
- php: 5.4
env: WP_VERSION=4.1 WP_MULTISITE=1
- php: 5.4
env: WP_VERSION=latest WP_MULTISITE=1
- php: 5.5
env: WP_VERSION=4.1 WP_MULTISITE=1
- php: 5.5
env: WP_VERSION=latest WP_MULTISITE=1
- php: 7.1
env: WP_VERSION=4.1 WP_MULTISITE=0
- php: 7.1
env: WP_VERSION=4.1 WP_MULTISITE=1
- php: 7.0
env: WP_VERSION=4.1 WP_MULTISITE=0
- php: 7.0
env: WP_VERSION=4.1 WP_MULTISITE=1
- php: hhvm
env: WP_VERSION=4.1 WP_MULTISITE=0
- php: hhvm
env: WP_VERSION=4.1 WP_MULTISITE=1
fast_finish: true
before_install:
- |
if [[ "$SKIP_XDEBUG_REMOVE" != "true" ]]; then
phpenv config-rm xdebug.ini
echo "xdebug removed";
fi
before_script:
- bash tests/bin/install-wp-tests.sh wordpress_test root '' localhost $WP_VERSION
- . tests/bin/setup-addon-tests.sh
- export PATH="$HOME/.composer/vendor/bin:$PATH"
- |
if [[ ${TRAVIS_PHP_VERSION:0:2} == "7." ]]; then
composer global require "phpunit/phpunit=5.7.*"
else
composer global require "phpunit/phpunit=4.8.*"
fi
- mysql --version
- phpunit --version
- phpenv versions
script: cd tests; phpunit;
notifications:
slack:
rooms:
secure: cVmCG8hUp59UAdx3OBmEweIVqKUr1sYhnWGCdRiylUJtSTP+ehSpfsNLZLfv1ntNlTlA/Iw+8bQbKOeRYCyuWA1FQ7QdZ3Y66jRpyT3AXcT+oKomGogKFY2yLQt2P58uXIyVVt8H9U4xrAM8t8gvARq7asUtbOGnt+1LbbHhUXKXiB6PLkRdGSSL/jFJKLfYyzfD0r43KTYl1e9MhpbO6nzPKGz2vejtA8sdTsfiOj7tQqyf9xydz51PlSic2YWwYoSMH9SjkQX+mPBz7JQHhJiZ9srh0AyVPZDNe03bTUv1D8ICuS7nqQYXpa3RePD12IA4nCvKG/Akn2pxrJtDQPuiYpTyjvuDvgNbg/ET86WBUjvzKKbZYP5QDx7XFf38NdUw9NjfqYR6pJzoX3dPXXwgRHLATBqjlZ4xKHKkUBWxJO8asCkUKDb9/bvjGxL057IqpWmVemmK44uwtPSdw9ml46PakWdbXq3KKtWM6VESFakCsw17O88csywUcPuACHlFUjWTUq9bUsq3ZNryezAfeg4b0Pbwr1JIqt0kOE2yc4YF6TOH+XKIuKS8dLvSqiCHUNstGOSu5DzqsIi5qDUIGn6QHumVc7wFC8o3Db7Fcq1zcFMsWB4t0cm15ZDc1uyBR9QkM8svN8oPYjimEJpYc3nn8kRwmzZm3bemBzk=
on_success: change
on_failure: always
on_start: always