2018-09-24 20:53:23 +02:00
|
|
|
language: php
|
|
|
|
|
|
|
|
notifications:
|
|
|
|
email:
|
|
|
|
on_success: never
|
|
|
|
on_failure: change
|
|
|
|
|
|
|
|
php:
|
|
|
|
- 5.6
|
|
|
|
- 7
|
|
|
|
|
|
|
|
after_success: bash bin/deploy.sh
|
|
|
|
|
|
|
|
env:
|
|
|
|
matrix:
|
|
|
|
- WP_VERSION=latest WP_MULTISITE=0
|
|
|
|
- WP_VERSION=nightly WP_MULTISITE=0
|
|
|
|
|
|
|
|
global:
|
|
|
|
- SVN_REPO: https://plugins.svn.wordpress.org/activitystream-extension/
|
|
|
|
- GH_REF: https://github.com/pfefferle/wordpress-activitystream-extension.git
|
|
|
|
- secure: "mNWrMScJrvoABY89j7eWG33cQnaIzvZ5q32bMhZO5kVVqiCI+XVKZuf7vC2DdSeF7BHTgh9PdkkkAzhW/6yhOT1IEXfRMF/5U1JrWbGkN5ByKH0cdxbExmuxKd1sSRC3zxkL7LYoE8vVhR6SXwuqyqa9uBNphJPvV+c6dHNwIjawPbJMlakUXc6a3hZSJbScn5F1a293jgc4Oe2souC1Hds/RTw2igoDdGqY1GC9J6EpXeCETltQcd1HKi+KD2kG47gBWb1B9JTKfkXH7x93wGYUq2JMb0FRzaCe/JzKcEkeyqdZgg/8IkxigY7uRxECF+amu+g5iO4fWPt4KgtoBno1+q4M3T9YHOZ4tv9iJ7Z9jjO/zraeIcXCC0mHP8m3Wqg4D4LWOWtCL+r/iCPIZN/26fQjOtH3MIrpWYEIw6BTrCMRxxYaf7ipc0xzw1rL8IJWRWyMYt21LinuQqAF8K8NMgQPXRbUJ0o6MThyBZuo15otz95cIoXc7ofJcZvEnBe3kwylUKSrO8QCrbfscMzd7wu1KXBDWGWM8jQA0PDN0cYLBIJuqrrLO9w0b3nhsqkuwbmOJG9yIySUkKQMKFIJ6rn7O2qWibNKMGoJWtyM+NOmJ4TlbyOGwSRtjxInUTUlecCZ9WoIwMb1JcB7YH8XAmeMAuRrooPOEx3n8xo="
|
|
|
|
|
|
|
|
matrix:
|
|
|
|
include:
|
|
|
|
- php: 5.6
|
2018-09-24 20:54:25 +02:00
|
|
|
env: WP_VERSION=latest WP_MULTISITE=0 WP_PLUGIN_DEPLOY=1
|
2018-09-24 20:53:23 +02:00
|
|
|
|
|
|
|
before_script:
|
|
|
|
- export PATH="$HOME/.composer/vendor/bin:$PATH"
|
|
|
|
- |
|
|
|
|
if [[ ${TRAVIS_PHP_VERSION:0:2} == "7." ]]; then
|
|
|
|
composer global require "phpunit/phpunit=5.7.*"
|
|
|
|
elif [[ ${TRAVIS_PHP_VERSION:0:3} != "5.2" ]]; then
|
|
|
|
composer global require "phpunit/phpunit=4.8.*"
|
|
|
|
fi
|
|
|
|
- bash bin/install-wp-tests.sh wordpress root '' localhost $WP_VERSION
|
|
|
|
|
|
|
|
script: phpunit
|