Browse Source

travis and composer

euromark 11 years ago
parent
commit
c83fc52a2c
3 changed files with 58 additions and 2 deletions
  1. 17 0
      .travis.yml
  2. 7 2
      README.md
  3. 34 0
      composer.json

+ 17 - 0
.travis.yml

@@ -0,0 +1,17 @@
+language: php
+
+php:
+  - 5.4
+  - 5.5
+  - 5.6
+
+before_script:
+  - composer self-update
+  - composer install --dev
+  - cp phpunit.xml.dist phpunit.xml
+
+script:
+  - phpunit
+
+notifications:
+  email: false

+ 7 - 2
README.md

@@ -12,9 +12,14 @@ This cake3 branch only works for **cake3** - please use the master branch for Ca
 Installing the Plugin is pretty much as with every other CakePHP Plugin.
 
 Put the files in `APP/Plugin/Tools`, using packagist/composer:
+```
+"require": {
+	"dereuromark/tools-cakephp": "dev-cake3"
+}
+```
+and
 
-    "require": {
-		    "dereuromark/tools": "dev-cake3",
+	composer update
 
 Details @ https://packagist.org/packages/dereuromark/tools-cakephp
 

+ 34 - 0
composer.json

@@ -0,0 +1,34 @@
+{
+	"name": "dereuromark/tools-cakephp",
+	"type": "cakephp-plugin",
+	"description": "A CakePHP plugin containing lots of useful and reusable tools",
+	"keywords": ["cakephp", "plugin", "tools", "utils", "helpers", "components", "behaviors", "datasources"],
+	"homepage": "https://github.com/dereuromark/tools",
+	"license": "MIT",
+	"authors":[
+		{
+			"name":"Mark Scherer",
+			"role":"Author",
+			"homepage":"http://www.dereuromark.de/"
+		}
+	],
+	"require":{
+		"composer/installers":"*"
+	},
+	"require-dev": {
+		"cakephp/cakephp": "3.0.x-dev",
+		"cakephp/app": "3.0.x-dev"
+	},
+	"autoload": {
+		"psr-4": {
+			"Tools\\": "."
+		}
+	},
+	"support":{
+		"source":"https://github.com/dereuromark/tools",
+		"issues":"https://github.com/dereuromark/tools/issues"
+	},
+	"extra": {
+		"installer-name": "Tools"
+	}
+}