Commit Graph

37 Commits

Author SHA1 Message Date
Brian M. Carlson
aa901a2c21 Fix travis tests 2014-11-18 16:03:27 -05:00
Brian M. Carlson
f4f5e548da Install proper version of pg-native 2014-11-18 15:10:01 -05:00
Brian M. Carlson
06b0392a57 Update travis config 2014-11-18 11:51:40 -05:00
Brian M. Carlson
c3513a27fa Make native bindings an optional install 2014-10-18 00:20:18 -04:00
Brian M. Carlson
667c528ea6 Work towards more tests passing 2014-09-14 01:23:02 -04:00
Brian M. Carlson
c42e5d726f Remove pg upgrade in travis tests 2013-11-20 23:01:31 -06:00
Brian C
e8f7f38e18 Merge pull request #435 from shine-on/master
improve SHELL portability
2013-09-05 09:11:25 -07:00
shine-on
d9c1936fc4 improve SHELL portability
bash isn't a standard shell outside a Linux world, but sh is (per POSIX, see link below). should be no-op due to no bashisms in the script.

http://pubs.opengroup.org/onlinepubs/009695399/utilities/sh.html
2013-09-05 13:12:04 +03:00
Brian Carlson
b38d60dc26 Compile bindings before any integration tests 2013-09-01 21:44:02 -05:00
Maciek Sakrejda
816e9b43ea Use the standard postgres:// URL prefix for consistency
Fixes #286.
2013-07-22 10:45:26 -07:00
Brian Carlson
43a8cd196f Remove prepublish script. Closes #363 2013-06-03 11:42:49 -05:00
bmc
12e4a2b98d Run the second pass of the tests on postgres 9.2 2013-04-22 10:35:26 -05:00
bmc
3997b38b44 Shell out for recursive make 2013-04-22 05:52:41 -05:00
bmc
a8cfa18f09 Add tests for pg@9.2 on travis 2013-04-22 05:18:13 -05:00
Sandro Santilli
19e9dddc19 Add a default "make all" rule to "build" the project (npm install) 2013-03-14 09:37:53 +01:00
bmc
77b81530f8 make jslint first thing to run during tests 2013-01-24 20:51:26 -06:00
Philipp Borgers
1dae656ffc add jshint target to test-all target 2013-01-24 21:59:27 +01:00
Philipp Borgers
fc7b4fe550 add jshint devDependency and a make target for jshint 2013-01-24 21:59:27 +01:00
Sandro Santilli
4856385b1d Add prepare-test-db rule and advertise it 2013-01-16 10:53:06 +01:00
brianc
550617f6ad allow using pg environment variables as test connection parameters 2012-07-30 21:57:28 -05:00
brianc
913207575b use node-gyp - closes #132 2012-06-18 22:43:30 -05:00
brianc
dd84db367b reduce complexity of test runner 2012-05-30 22:12:14 -05:00
Alexander Sulfrian
6b032c466b added test-binary target
integration tests could now be started in binary mode
some tests are executed in text mode anyway, they are currently not
compatible with binary mode or prepared statements at all
(f.e. multiple statements in one query)
2011-11-22 05:01:00 +01:00
brianc
cabca209c7 named queries working & all tests passing 2011-03-06 22:27:35 -06:00
brianc
dc964a66c1 updated makefile 2011-03-05 11:31:59 -06:00
brianc
4b722264b1 makefile test-all command now tests native & pure js 2011-03-05 11:23:42 -06:00
brianc
e03516a182 makefile a bit more 'makey' 2011-03-05 15:51:47 +00:00
brianc
f5f5a40abd makefile passes native parameter to tests 2011-03-02 18:23:30 -06:00
Brian Carlson
569f760b5e updated test & makefile to be more in line with other uses 2011-02-23 20:19:27 -06:00
brianc
7f6a5082b2 added ugly 'build' task to makefile 2011-02-22 22:51:30 -06:00
brianc
edea8967d2 stage up the ability to run libpg based client integration tests 2011-02-22 22:48:51 -06:00
brianc
62de2f4a02 added 'bench' task to makefile 2010-12-30 21:26:23 -06:00
brianc
4aa4443505 Makefile cleanup 2010-12-24 20:22:15 -06:00
brianc
1ad45f71e7 slight makefile refactoring 2010-12-24 20:09:55 -06:00
brianc
7dc89cec04 made integration tests die faster when they cannot connect to the database 2010-12-19 15:12:51 -06:00
brianc
49f5da8f02 make the test name printing an option via the "verbose" command line argument 2010-12-19 14:46:43 -06:00
Brian Carlson
af997d914b refactored test execution to use makefile
integration tests all running in the same process were stepping on eachother. each test file is now run within its own node process
2010-12-14 18:50:18 -06:00