[Pkg-javascript-commits] [node-lexical-scope] 09/83: using travis

Bastien Roucariès rouca at moszumanska.debian.org
Fri Dec 15 09:45:46 UTC 2017


This is an automated email from the git hooks/post-receive script.

rouca pushed a commit to branch master
in repository node-lexical-scope.

commit 445c6f525eb2f843b8e46d446760413f5d9ad255
Author: James Halliday <mail at substack.net>
Date:   Mon Feb 18 14:58:59 2013 +1000

    using travis
---
 .travis.yml                   | 4 ++++
 readme.markdown               | 2 ++
 test/sources/detect_source.js | 1 +
 3 files changed, 7 insertions(+)

diff --git a/.travis.yml b/.travis.yml
new file mode 100644
index 0000000..09d3ef3
--- /dev/null
+++ b/.travis.yml
@@ -0,0 +1,4 @@
+language: node_js
+node_js:
+  - 0.8
+  - 0.10
diff --git a/readme.markdown b/readme.markdown
index 956051b..c5b359a 100644
--- a/readme.markdown
+++ b/readme.markdown
@@ -2,6 +2,8 @@
 
 detect global and local lexical identifiers from javascript source code
 
+[![build status](https://secure.travis-ci.org/substack/lexical-scope.png)](http://travis-ci.org/substack/lexical-scope)
+
 # example
 
 ``` js
diff --git a/test/sources/detect_source.js b/test/sources/detect_source.js
new file mode 100644
index 0000000..63a636b
--- /dev/null
+++ b/test/sources/detect_source.js
@@ -0,0 +1 @@
+"var x = 5;\nvar y = 3, z = 2;\n\nw.foo();\nw = 2;\n\nRAWR=444;\nRAWR.foo();\n\nBLARG=3;\n\nfoo(function () {\n    var BAR = 3;\n    process.nextTick(function (ZZZZZZZZZZZZ) {\n        console.log('beep boop');\n        var xyz = 4;\n        x += 10;\n        x.zzzzzz;\n        ZZZ=6;\n    });\n    function doom () {\n    }\n    ZZZ.foo();\n\n});\n\nfunction beep () {}\n\nconsole.log(xyz);\n"
\ No newline at end of file

-- 
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/pkg-javascript/node-lexical-scope.git



More information about the Pkg-javascript-commits mailing list