[Pkg-javascript-commits] [node-leveldown] 88/492: travis update

Andrew Kelley andrewrk-guest at moszumanska.debian.org
Sun Jul 6 17:13:47 UTC 2014


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

andrewrk-guest pushed a commit to annotated tag rocksdb-0.10.1
in repository node-leveldown.

commit 101c3a2071f12086093e54e325470657f7e2462f
Author: Rod Vagg <rod at vagg.org>
Date:   Wed Nov 21 22:52:24 2012 +1100

    travis update
---
 .travis.yml                         | 3 ++-
 package.json                        | 1 +
 test/functional/binary-data-test.js | 1 +
 test/functional/compat-test.js      | 1 +
 4 files changed, 5 insertions(+), 1 deletion(-)

diff --git a/.travis.yml b/.travis.yml
index 18fe1ea..a8c5854 100644
--- a/.travis.yml
+++ b/.travis.yml
@@ -6,4 +6,5 @@ branches:
     - master
 notifications:
   email:
-    - rod at vagg.org
\ No newline at end of file
+    - rod at vagg.org
+script: npm run-script alltests
\ No newline at end of file
diff --git a/package.json b/package.json
index f5ce74e..ede48ad 100644
--- a/package.json
+++ b/package.json
@@ -44,6 +44,7 @@
         "test"            : "./node_modules/.bin/buster-test"
       , "install"         : "node-gyp rebuild"
       , "functionaltests" : "node ./test/functional/fstream-test.js && node ./test/functional/binary-data-test.js && node ./test/functional/compat-test.js"
+      , "alltests" : "npm test && npm run-script functionaltests"
     }
   , "license"         : "MIT"
   , "gypfile"         : true
diff --git a/test/functional/binary-data-test.js b/test/functional/binary-data-test.js
index 5246f17..6cf9dab 100644
--- a/test/functional/binary-data-test.js
+++ b/test/functional/binary-data-test.js
@@ -34,4 +34,5 @@ async.series([
   if (err) console.error('Error', err)
   else console.log('No errors? All good then!')
   console.log('***************************************************')
+  process.exit(err ? -1 : 0)
 })
\ No newline at end of file
diff --git a/test/functional/compat-test.js b/test/functional/compat-test.js
index a3f5d19..59b0675 100644
--- a/test/functional/compat-test.js
+++ b/test/functional/compat-test.js
@@ -37,4 +37,5 @@ async.series([
   if (err) console.error('Error', err)
   else console.log('No errors? All good then!')
   console.log('***************************************************')
+  process.exit(err ? -1 : 0)
 })
\ No newline at end of file

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



More information about the Pkg-javascript-commits mailing list