Added neo4j support for travis ci
This commit is contained in:
parent
3952c329df
commit
3f2a0b1ec6
|
@ -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"
|
||||
|
|
|
@ -8,7 +8,7 @@
|
|||
},
|
||||
"main": "index.js",
|
||||
"scripts": {
|
||||
"test": "EXCEPT=neo4j nodeunit test/*_test*"
|
||||
"test": "nodeunit test/*_test*"
|
||||
},
|
||||
"engines": [
|
||||
"node >= 0.4.0"
|
||||
|
|
|
@ -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
|
Loading…
Reference in New Issue