Permalink
Browse files

Added neo4j support for travis ci

  • Loading branch information...
1 parent 3952c32 commit 3f2a0b1ec641ba5ab49cbe5f3aefe86ee45720bb @1602 committed Mar 10, 2012
Showing with 9 additions and 2 deletions.
  1. +3 −1 .travis.yml
  2. +1 −1 package.json
  3. +5 −0 support/ci/neo4j.sh
View
@@ -2,7 +2,9 @@ language: node_js
node_js:
- 0.4
- 0.6
-before_install: git submodule init && git submodule --quiet update
+before_install:
+ - git submodule init && git submodule --quiet update
+ - ./support/ci/neo4j.sh
before_script:
- "mysql -e 'create database myapp_test;'"
- "psql -c 'create database myapp_test;' -U postgres"
View
@@ -8,7 +8,7 @@
},
"main": "index.js",
"scripts": {
- "test": "EXCEPT=neo4j nodeunit test/*_test*"
+ "test": "nodeunit test/*_test*"
},
"engines": [
"node >= 0.4.0"
View
@@ -0,0 +1,5 @@
+#!/bin/sh
+
+# travis-ci.org now provides neo4j server but it is not started on boot
+which neo4j && sudo neo4j start
+sleep 5

0 comments on commit 3f2a0b1

Please sign in to comment.