Permalink
Browse files

Travis support and test skeleton

  • Loading branch information...
1 parent 824188e commit 01b403b03f69593462c93583f3c68b489ff20887 @dotcypress dotcypress committed Mar 12, 2013
Showing with 33 additions and 3 deletions.
  1. +10 −0 .editorconfig
  2. +1 −0 .gitattributes
  3. +3 −0 .gitignore
  4. +4 −0 .travis.yml
  5. +1 −1 README.md
  6. +1 −1 index.js
  7. +4 −1 package.json
  8. +9 −0 test/reporter.js
View
@@ -0,0 +1,10 @@
+# editorconfig.org
+root = true
+
+[*]
+indent_style = space
+indent_size = 2
+end_of_line = lf
+charset = utf-8
+trim_trailing_whitespace = true
+insert_final_newline = true
View
@@ -0,0 +1 @@
+* text=auto
View
@@ -0,0 +1,3 @@
+node_modules
+
+npm-debug.log
View
@@ -0,0 +1,4 @@
+language: node_js
+node_js:
+ - 0.8
+
View
@@ -1,4 +1,4 @@
-# testacular-teamcity-reporter
+# testacular-teamcity-reporter [![Build Status](https://secure.travis-ci.org/testacular/testacular-teamcity-reporter.png?branch=master)](https://travis-ci.org/testacular/testacular-teamcity-reporter)
> Reporter for Teamcity CI.
View
@@ -134,4 +134,4 @@ TeamcityReporter.$inject = ['baseReporterDecorator'];
// PUBLISH DI MODULE
module.exports = {
'reporter:teamcity': ['type', TeamcityReporter]
-};
+};
View
@@ -4,7 +4,7 @@
"description": "A Testacular plugin. Report results for Teamcity CI.",
"main": "index.js",
"scripts": {
- "test": "echo \"Error: no test specified\" && exit 1"
+ "test": "mocha"
},
"repository": {
"type": "git",
@@ -17,6 +17,9 @@
],
"author": "Eldar Djafarov<djkojb@gmail.com>",
"dependencies": {},
+ "devDependencies": {
+ "mocha": "*"
+ },
"peerDependencies": {
"testacular": "~0.7"
},
View
@@ -0,0 +1,9 @@
+var reporter = require('./../index');
+
+describe('TeamCity reporter', function(){
+
+ it('should works', function(done){
+ done();
+ });
+
+});

0 comments on commit 01b403b

Please sign in to comment.