diff --git a/.travis.yml b/.travis.yml new file mode 100644 index 0000000..ef7bdcb --- /dev/null +++ b/.travis.yml @@ -0,0 +1,48 @@ +language: php + +php: + - 5.4 + - 5.5 + - 5.6 + +env: + global: + - PLUGIN_NAME=ConfigRead + - REQUIRE="" + - PHPCS_ARGS="-p --extensions=php --standard=vendor/loadsys/loadsys_codesniffer/Loadsys --ignore=vendor/ ." + + matrix: + - DB=mysql CAKE_VERSION=2.5 + - DB=mysql CAKE_VERSION=2.6 + +matrix: + fast_finish: true + include: + - php: 5.6 + env: + - COVERALLS=1 + - DB=mysql + - CAKE_VERSION=2.6 + - php: 5.6 + env: + - DB=mysql + - CAKE_VERSION=2.6 + - PHPCS=1 + allow_failures: + +before_install: + - composer self-update + +before_script: + - git clone -b master https://github.com/FriendsOfCake/travis.git --depth 1 ../travis + - ../travis/before_script.sh + - composer require --dev --no-interaction --prefer-source loadsys/loadsys_codesniffer=* + +script: + - ../travis/script.sh + +after_success: + - ../travis/after_success.sh + +notifications: + email: false diff --git a/Test/Case/AllConfigReadCommandTest.php b/Test/Case/AllConfigReadCommandTest.php new file mode 100644 index 0000000..92091ba --- /dev/null +++ b/Test/Case/AllConfigReadCommandTest.php @@ -0,0 +1,23 @@ +addTestDirectoryRecursive(dirname(__FILE__) . '/Console/Command/'); + return $suite; + } +} diff --git a/Test/Case/AllConfigReadConsoleTest.php b/Test/Case/AllConfigReadConsoleTest.php new file mode 100644 index 0000000..7e53122 --- /dev/null +++ b/Test/Case/AllConfigReadConsoleTest.php @@ -0,0 +1,23 @@ +addTestDirectoryRecursive(dirname(__FILE__) . '/Console/'); + return $suite; + } +} diff --git a/Test/Case/AllConfigReadTest.php b/Test/Case/AllConfigReadTest.php new file mode 100644 index 0000000..9b39263 --- /dev/null +++ b/Test/Case/AllConfigReadTest.php @@ -0,0 +1,41 @@ +addTestFile($path . $file); + } + } + return $suite; + } + +} diff --git a/Test/Case/Console/Command/ConfigReadShellTest.php b/Test/Case/Console/Command/ConfigReadShellTest.php index 85a0b3a..c0cc8fe 100644 --- a/Test/Case/Console/Command/ConfigReadShellTest.php +++ b/Test/Case/Console/Command/ConfigReadShellTest.php @@ -1,2 +1,49 @@ markTestIncomplete("No tests implemented for ConfigReadShell."); + } + +}