initial crack at travis-ci

This commit is contained in:
brianc 2012-07-11 23:01:54 -05:00
parent 585f480a2c
commit 57a2176d48
2 changed files with 7 additions and 1 deletions

6
.travis.yml Normal file
View File

@ -0,0 +1,6 @@
language: node_js
node_js:
- 0.8
before_script:
- psql -c 'create database node-postgres;' -U postgres
- node script/create-test-tables.js pg://postgres@127.0.0.1:5432/node-postgres

View File

@ -13,7 +13,7 @@
"generic-pool" : "1.0.9"
},
"scripts" : {
"test" : "make test",
"test" : "make test-all connectionString=pg://postgres@localhost:5432/node-postgres",
"install" : "node-gyp rebuild || (exit 0)"
},
"engines" : { "node": ">= 0.8.0" }