Skip to content

Commit e41b6a0

Browse files
committed
default travis testing to test-all target
1 parent a0fc206 commit e41b6a0

File tree

3 files changed

+3
-4
lines changed

3 files changed

+3
-4
lines changed

.travis.yml

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -3,3 +3,5 @@ node_js:
33
- "0.10"
44
before_script:
55
- node script/create-test-tables.js pg://[email protected]:5432/postgres
6+
env:
7+
- PGUSER=postgres PGDATABASE=postgres

Makefile

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -23,9 +23,6 @@ test: test-unit
2323

2424
test-all: jshint test-unit test-integration test-native test-binary
2525

26-
test-travis: test-all upgrade-pg
27-
@make test-all connectionString=postgres://postgres@localhost:5433/postgres
28-
2926
upgrade-pg:
3027
@chmod 755 script/travis-pg-9.2-install.sh
3128
@./script/travis-pg-9.2-install.sh

package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -26,7 +26,7 @@
2626
"semver": "~1.1.4"
2727
},
2828
"scripts": {
29-
"test": "make test-travis connectionString=postgres://postgres@localhost:5432/postgres",
29+
"test": "make test-all connectionString=postgres://postgres@localhost:5432/postgres",
3030
"install": "node-gyp rebuild || (exit 0)"
3131
},
3232
"engines": {

0 commit comments

Comments
 (0)