mirror of
https://github.com/brianc/node-postgres.git
synced 2025-12-08 20:16:25 +00:00
initial crack at travis-ci
This commit is contained in:
parent
585f480a2c
commit
57a2176d48
6
.travis.yml
Normal file
6
.travis.yml
Normal 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
|
||||
@ -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" }
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user