23 lines
636 B
YAML
23 lines
636 B
YAML
# see http://about.travis-ci.org/docs/user/languages/php/ for more hints
|
|
language: php
|
|
|
|
# list any PHP version you want to test against
|
|
php:
|
|
# aliased to a recent 5.4.x version
|
|
- '5.4'
|
|
- '5.6'
|
|
- '7.1'
|
|
|
|
env:
|
|
- WP_PROJECT_TYPE=plugin WP_VERSION=latest WP_MULTISITE=0 WP_TEST_URL=http://localhost:12000 WP_TEST_USER=test WP_TEST_USER_PASS=test
|
|
|
|
before_script:
|
|
# Install composer packages before trying to activate themes or plugins
|
|
# - composer install
|
|
|
|
- git clone https://github.com/Seravo/wordpress-test-template wp-tests
|
|
- bash wp-tests/bin/install-wp-tests.sh test root '' localhost $WP_VERSION
|
|
|
|
script:
|
|
- phpunit
|