Skip to content

Commit

Permalink
Tracis CI support
Browse files Browse the repository at this point in the history
  • Loading branch information
FGRibreau committed Nov 19, 2011
1 parent 3cf6a12 commit 8d36a7d
Show file tree
Hide file tree
Showing 4 changed files with 15 additions and 2 deletions.
3 changes: 3 additions & 0 deletions .gitignore
Original file line number Original file line Diff line number Diff line change
@@ -0,0 +1,3 @@
phptest
node_modules
.cupboard
4 changes: 4 additions & 0 deletions .travis.yml
Original file line number Original file line Diff line number Diff line change
@@ -0,0 +1,4 @@
language: node_js
node_js:
- 0.4
- 0.6
1 change: 1 addition & 0 deletions README.md
Original file line number Original file line Diff line number Diff line change
@@ -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` 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. LanguageDetect can identify 52 human languages from text samples and return confidence scores for each.
Expand Down
9 changes: 7 additions & 2 deletions package.json
Original file line number Original file line Diff line number Diff line change
Expand Up @@ -4,7 +4,6 @@
"keywords": ["n-gram", "language", "language detection"], "keywords": ["n-gram", "language", "language detection"],
"version": "0.0.1", "version": "0.0.1",
"homepage": "http://blog.fgribreau.com/2011/07/week-end-project-nodejs-language.html", "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)", "author" : "Francois-Guillaume Ribreau <npm@fgribreau.com> (http://fgribreau.com)",
"main" : "index", "main" : "index",
"repository": "git://github.com/FGRibreau/node-language-detect.git", "repository": "git://github.com/FGRibreau/node-language-detect.git",
Expand All @@ -14,5 +13,11 @@
"url" : "http://github.com/FGRibreau/node-language-detect/blob/master/LICENSE" "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.