-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
1 parent
8b16fed
commit 22a5ed5
Showing
7 changed files
with
36 additions
and
82 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,23 +1,23 @@ | ||
language: php | ||
|
||
php: | ||
- 5.3 | ||
- 5.4 | ||
- 5.3 | ||
- 5.4 | ||
|
||
env: | ||
- WP_VERSION=latest WP_MULTISITE=0 | ||
- WP_VERSION=latest WP_MULTISITE=1 | ||
- WP_VERSION=3.8 WP_MULTISITE=0 | ||
- WP_VERSION=3.8 WP_MULTISITE=1 | ||
- WP_VERSION=3.5 WP_MULTISITE=0 | ||
- WP_VERSION=3.5 WP_MULTISITE=1 | ||
- WP_VERSION=latest WP_MULTISITE=0 | ||
- WP_VERSION=latest WP_MULTISITE=1 | ||
- WP_VERSION=3.8 WP_MULTISITE=0 | ||
- WP_VERSION=3.8 WP_MULTISITE=1 | ||
- WP_VERSION=3.5 WP_MULTISITE=0 | ||
- WP_VERSION=3.5 WP_MULTISITE=1 | ||
|
||
before_script: | ||
- bash tests/bin/install-wp-tests.sh wordpress_test root '' localhost $WP_VERSION | ||
- bash tests/bin/install-wp-tests.sh wordpress_test root '' localhost $WP_VERSION | ||
|
||
script: phpunit | ||
|
||
branches: | ||
only: | ||
- master | ||
- trunk | ||
only: | ||
- master | ||
- trunk |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,18 +1,15 @@ | ||
<?xml version="1.0" encoding="UTF-8"?> | ||
<phpunit | ||
bootstrap = "tests/phpunit/includes/bootstrap.php" | ||
bootstrap = "tests/bootstrap.php" | ||
backupGlobals = "false" | ||
colors = "true" | ||
convertErrorsToExceptions = "true" | ||
convertNoticesToExceptions = "true" | ||
convertWarningsToExceptions = "true" | ||
syntaxCheck = "false" | ||
verbose = "true" | ||
> | ||
<testsuites> | ||
<!-- Default test suite to run all tests --> | ||
<testsuite name="BadgeOS Test Suite"> | ||
<directory suffix=".php">./tests/phpunit/tests</directory> | ||
<testsuite> | ||
<directory prefix="test-" suffix=".php">./tests/</directory> | ||
</testsuite> | ||
</testsuites> | ||
</phpunit> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,14 @@ | ||
<?php | ||
|
||
$_tests_dir = getenv('WP_TESTS_DIR'); | ||
if ( !$_tests_dir ) $_tests_dir = '/tmp/wordpress-tests-lib'; | ||
|
||
require_once $_tests_dir . '/includes/functions.php'; | ||
|
||
function _manually_load_plugin() { | ||
require dirname( __FILE__ ) . '/../init.php'; | ||
} | ||
tests_add_filter( 'muplugins_loaded', '_manually_load_plugin' ); | ||
|
||
require $_tests_dir . '/includes/bootstrap.php'; | ||
|
This file was deleted.
Oops, something went wrong.
File renamed without changes.