Added neo4j support for travis ci
This commit is contained in:
parent
3952c329df
commit
3f2a0b1ec6
|
@ -2,7 +2,9 @@ language: node_js
|
||||||
node_js:
|
node_js:
|
||||||
- 0.4
|
- 0.4
|
||||||
- 0.6
|
- 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:
|
before_script:
|
||||||
- "mysql -e 'create database myapp_test;'"
|
- "mysql -e 'create database myapp_test;'"
|
||||||
- "psql -c 'create database myapp_test;' -U postgres"
|
- "psql -c 'create database myapp_test;' -U postgres"
|
||||||
|
|
|
@ -8,7 +8,7 @@
|
||||||
},
|
},
|
||||||
"main": "index.js",
|
"main": "index.js",
|
||||||
"scripts": {
|
"scripts": {
|
||||||
"test": "EXCEPT=neo4j nodeunit test/*_test*"
|
"test": "nodeunit test/*_test*"
|
||||||
},
|
},
|
||||||
"engines": [
|
"engines": [
|
||||||
"node >= 0.4.0"
|
"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