Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse files

added travis-ci and composer files

  • Loading branch information...
commit 069440501bf00db4e474b4c8196cd63e261dede3 1 parent c78176a
@maximebf authored
View
5 .travis.yml
@@ -0,0 +1,5 @@
+language: php
+php:
+ - 5.3
+ - 5.4
+script: phpunit
View
2  README.md
@@ -1,6 +1,6 @@
# ConsoleKit
-PHP 5.3+ library to create command line utilities
+PHP 5.3+ library to create command line utilities [![Build Status](https://secure.travis-ci.org/maximebf/ConsoleKit.png)](http://travis-ci.org/maximebf/ConsoleKit)
## Example
View
19 composer.json
@@ -0,0 +1,19 @@
+{
+ "name": "maximebf/consolekit",
+ "description": "Library to create command line utilities",
+ "keywords": ["console", "shell", "cli", "commands"],
+ "homepage": "https://github.com/maximebf/ConsoleKit",
+ "type": "library",
+ "license": "MIT",
+ "authors": [{
+ "name": "Maxime Bouroumeau-Fuseau",
+ "email": "maxime.bouroumeau@gmail.com",
+ "homepage": "http://maximebf.com"
+ }],
+ "require": {
+ "php": ">=5.3.0"
+ },
+ "autoload": {
+ "psr-0": {"ConsoleKit": "lib/"}
+ }
+}
View
25 phpunit.xml.dist
@@ -0,0 +1,25 @@
+<?xml version="1.0" encoding="UTF-8"?>
+
+<phpunit backupGlobals="false"
+ backupStaticAttributes="false"
+ colors="true"
+ convertErrorsToExceptions="true"
+ convertNoticesToExceptions="true"
+ convertWarningsToExceptions="true"
+ processIsolation="false"
+ stopOnFailure="false"
+ syntaxCheck="false"
+ bootstrap="tests/bootstrap.php"
+>
+ <testsuites>
+ <testsuite name="ConsoleKit Test Suite">
+ <directory>./tests/ConsoleKit/</directory>
+ </testsuite>
+ </testsuites>
+
+ <filter>
+ <whitelist>
+ <directory>./src/ConsoleKit/</directory>
+ </whitelist>
+ </filter>
+</phpunit>
View
6 tests/README.md
@@ -1,6 +0,0 @@
-
-## ConsoleKit Test Suite
-
-To run the tests:
-
- phpunit --bootstrap tests/bootstrap.php tests
Please sign in to comment.
Something went wrong with that request. Please try again.