Permalink
Browse files

Tracis CI support

  • Loading branch information...
1 parent 3cf6a12 commit 8d36a7db4ffaf6ddaf5cf80a321556122211d4d8 @FGRibreau committed Nov 19, 2011
Showing with 15 additions and 2 deletions.
  1. +3 −0 .gitignore
  2. +4 −0 .travis.yml
  3. +1 −0 README.md
  4. +7 −2 package.json
View
@@ -0,0 +1,3 @@
+phptest
+node_modules
+.cupboard
View
@@ -0,0 +1,4 @@
+language: node_js
+node_js:
+ - 0.4
+ - 0.6
View
@@ -1,3 +1,4 @@
+# Node Language Detect [![Build Status](https://secure.travis-ci.org/FGRibreau/node-language-detect.png)](http://travis-ci.org/FGRibreau/node-language-detect) #
`LanguageDetect` is a port of the [PEAR::Text_LanguageDetect](http://pear.php.net/package/Text_LanguageDetect) for [node.js](http://nodejs.org).
LanguageDetect can identify 52 human languages from text samples and return confidence scores for each.
View
@@ -4,7 +4,6 @@
"keywords": ["n-gram", "language", "language detection"],
"version": "0.0.1",
"homepage": "http://blog.fgribreau.com/2011/07/week-end-project-nodejs-language.html",
- "devDependencies": { "nodeunit": ">= 0.5.1" },
"author" : "Francois-Guillaume Ribreau <npm@fgribreau.com> (http://fgribreau.com)",
"main" : "index",
"repository": "git://github.com/FGRibreau/node-language-detect.git",
@@ -14,5 +13,11 @@
"url" : "http://github.com/FGRibreau/node-language-detect/blob/master/LICENSE"
}
],
- "engines": { "node": "*" }
+ "scripts": {
+ "test": "node_modules/nodeunit/bin/nodeunit test/*.test.js"
+ },
+ "devDependencies":{
+ "nodeunit":">= 0.5.1"
+ },
+ "engines": { "node": ">= 0.4.8" }
}

0 comments on commit 8d36a7d

Please sign in to comment.