From 499e15ff81adb44edef55baa09a0cc7c2292f1da Mon Sep 17 00:00:00 2001 From: Timothy J Warren Date: Fri, 18 Nov 2016 22:07:50 -0500 Subject: [PATCH] Update test setup --- .gitlab-ci.yml | 10 +------ package.json | 2 +- test/config-ci.json | 71 ++++++++++++++++++++++++--------------------- 3 files changed, 40 insertions(+), 43 deletions(-) diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml index 6ebb813..c559a5c 100644 --- a/.gitlab-ci.yml +++ b/.gitlab-ci.yml @@ -22,18 +22,10 @@ cache: paths: - node_modules/ -test:4: - image: node:4 - script: npm run test - -test:5: - image: node:5 - script: npm run test - test:6: image: node:6 script: npm run test test:latest: image: node:latest - script: npm run test \ No newline at end of file + script: npm run test diff --git a/package.json b/package.json index 1ca0b83..531487a 100644 --- a/package.json +++ b/package.json @@ -48,7 +48,7 @@ "devDependencies": { "chai": "^3.5.0", "chai-as-promised": "^6.0.0", - "documentation": "^3.0.4", + "documentation": "latest", "eslint": "^3.5.0", "globstar": "^1.0.0", "happiness": "^7.1.2", diff --git a/test/config-ci.json b/test/config-ci.json index f997bc7..398a4fe 100644 --- a/test/config-ci.json +++ b/test/config-ci.json @@ -1,34 +1,39 @@ { - "mysql2": { - "driver": "mysql", - "connection": { - "host": "mysql2", - "user": "test", - "password": "test", - "database": "test" - } - }, - "pg": { - "driver": "pg", - "connection": "postgres://test:test@posgres/test" - }, - "pg-object": { - "driver": "pg", - "connection": { - "database": "test" - } - }, - "dblite": { - "driver": "sqlite", - "connection": ":memory:" - }, - "node-firebird": { - "driver": "firebird", - "connection": { - "host": "127.0.0.1", - "database": "/../FB_TEST_DB.FDB", - "user": "SYSDBA", - "password": "masterkey" - } - } -} \ No newline at end of file + "mysql2": { + "driver": "mysql", + "connection": { + "host": "mysql2", + "user": "test", + "password": "test", + "database": "test" + } + }, + "pg": { + "driver": "pg", + "connection": "postgres://test:test@posgres/test" + }, + "pg-object": { + "driver": "pg", + "connection": { + "database": "test" + } + }, + "dblite": { + "adapter": "dblite", + "driver": "sqlite", + "connection": ":memory:" + }, + "sqlite3": { + "driver": "sqlite", + "connection": ":memory:" + }, + "node-firebird": { + "driver": "firebird", + "connection": { + "host": "127.0.0.1", + "database": "/../FB_TEST_DB.FDB", + "user": "SYSDBA", + "password": "masterkey" + } + } +}