Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse files

Added neo4j support for travis ci

  • Loading branch information...
commit 3f2a0b1ec641ba5ab49cbe5f3aefe86ee45720bb 1 parent 3952c32
@1602 authored
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
4 .travis.yml
@@ -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
2  package.json
@@ -8,7 +8,7 @@
},
"main": "index.js",
"scripts": {
- "test": "EXCEPT=neo4j nodeunit test/*_test*"
+ "test": "nodeunit test/*_test*"
},
"engines": [
"node >= 0.4.0"
View
5 support/ci/neo4j.sh
@@ -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
Please sign in to comment.
Something went wrong with that request. Please try again.