Loading .travis.yml +11 −0 Original line number Diff line number Diff line Loading @@ -3,6 +3,9 @@ # Tell Travis CI we're using PHP language: php notifications: email: false php: - 5.5 Loading @@ -17,3 +20,11 @@ matrix: # Clones WordPress and configures our testing environment. before_script: - bash bin/install-wp-tests.sh wordpress_test root '' 127.0.0.1 $WP_VERSION - printf "\n" | pecl install imagick script: - phpunit --coverage-clover clover.xml after_script: # Push coverage off to Codecov - bash <(curl -s https://codecov.io/bash) No newline at end of file README.md +1 −0 Original line number Diff line number Diff line Loading @@ -2,6 +2,7 @@ S3-Uploads ========== [](https://travis-ci.org/humanmade/S3-Uploads) [](http://codecov.io/github/humanmade/S3-Uploads?branch=master) WordPress plugin to store uploads on S3. S3-Uploads aims to be a lightweight "drop-in" for storing uploads on Amazon S3 instead of the local filesystem. Loading phpunit.xml.dist +11 −12 Original line number Diff line number Diff line Loading @@ -12,14 +12,13 @@ <directory prefix="test-" suffix=".php">tests</directory> </testsuite> </testsuites> <filter> <blacklist> <directory suffix=".php">.</directory> </blacklist> <whitelist> <directory suffix=".php">./lib</directory> <file>./plugin.php</file> <directory suffix=".php">./inc</directory> <file>./s3-uploads.php</file> <exclude> <directory suffix=".php">./inc/aws-sdk</directory> </exclude> </whitelist> </filter> </phpunit> Loading
.travis.yml +11 −0 Original line number Diff line number Diff line Loading @@ -3,6 +3,9 @@ # Tell Travis CI we're using PHP language: php notifications: email: false php: - 5.5 Loading @@ -17,3 +20,11 @@ matrix: # Clones WordPress and configures our testing environment. before_script: - bash bin/install-wp-tests.sh wordpress_test root '' 127.0.0.1 $WP_VERSION - printf "\n" | pecl install imagick script: - phpunit --coverage-clover clover.xml after_script: # Push coverage off to Codecov - bash <(curl -s https://codecov.io/bash) No newline at end of file
README.md +1 −0 Original line number Diff line number Diff line Loading @@ -2,6 +2,7 @@ S3-Uploads ========== [](https://travis-ci.org/humanmade/S3-Uploads) [](http://codecov.io/github/humanmade/S3-Uploads?branch=master) WordPress plugin to store uploads on S3. S3-Uploads aims to be a lightweight "drop-in" for storing uploads on Amazon S3 instead of the local filesystem. Loading
phpunit.xml.dist +11 −12 Original line number Diff line number Diff line Loading @@ -12,14 +12,13 @@ <directory prefix="test-" suffix=".php">tests</directory> </testsuite> </testsuites> <filter> <blacklist> <directory suffix=".php">.</directory> </blacklist> <whitelist> <directory suffix=".php">./lib</directory> <file>./plugin.php</file> <directory suffix=".php">./inc</directory> <file>./s3-uploads.php</file> <exclude> <directory suffix=".php">./inc/aws-sdk</directory> </exclude> </whitelist> </filter> </phpunit>