File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -5,9 +5,9 @@ Basic test framework for using Travis CI with phpBB Extensions
55
66You can setup your extension to use this by following these steps:
77
8- 1 . Copy the example.travis.yml file into your extension directory.
8+ 1 . Copy the ** example.travis.yml** file into your extension directory.
99
10- 2 . Rename the file ` .travis.yml `
10+ 2 . Rename the file ** .travis.yml**
1111
12123 . Edit the file and change the VENDOR= and NAME= lines to fit your extension.
1313
@@ -26,12 +26,12 @@ Note: Change your/extension to your vendor name/extension name.
2626
27272 . Copy ` tests/framework/* ` to ` phpBB/ext/your/extension/tests/framework/* `
2828
29- 3 . Copy ` travis/* ` to ` phpBB/ext/your/extension/travis/* `
29+ 3 . Copy ` travis/bootstrap.php ` to ` phpBB/ext/your/extension/tests/bootstrap.php `
3030
31- 4 . Duplicate ` travis/phpunit-mysql-travis.xml ` and rename it to ` phpunit-mysql-local.xml `
31+ 4 . Copy ` travis/phpunit-mysql-travis.xml ` to ` phpBB/ext/your/extension/tests/phpunit-mysql-travis.xml ` and rename it to ** phpunit-mysql-local.xml**
3232
33- 5 . Edit ` phpunit-mysql-local.xml ` changing the SERVER CONFIG settings to match your phpBB config.php settings:
33+ 5 . Edit ** phpunit-mysql-local.xml** changing the server config settings to match your phpBB config.php settings:
3434
35356 . Run the tests from the command line using:
3636
37- ` phpBB/vendor/bin/phpunit -c phpBB/ext/your/extension/travis /phpunit-mysql-local.xml `
37+ ` phpBB/vendor/bin/phpunit -c phpBB/ext/your/extension/tests /phpunit-mysql-local.xml `
You can’t perform that action at this time.
0 commit comments