diff --git a/.travis.yml b/.travis.yml index d377995..e656a91 100644 --- a/.travis.yml +++ b/.travis.yml @@ -11,7 +11,7 @@ node_js: - "4" before_script: - - npm install -g gulp + - npm install -g gulp codeclimate-test-reporter - npm install -g codeclimate-test-reporter - psql -c 'DROP DATABASE IF EXISTS test;' -U postgres - psql -c 'create database test;' -U postgres @@ -19,7 +19,7 @@ before_script: - mysql -v -uroot test < ./test/sql/mysql.sql - psql test postgres -f ./test/sql/pgsql.sql -script: gulp +script: gulp test after_script: - CODECLIMATE_REPO_TOKEN=aa39789a53f6f8fd84747a98968c9f79795e890d55a533daa943b1042f81687f codeclimate-test-reporter < coverage/lcov.info \ No newline at end of file diff --git a/lib/NodeQuery.js b/lib/NodeQuery.js index c2ccd30..22f3be5 100755 --- a/lib/NodeQuery.js +++ b/lib/NodeQuery.js @@ -1,6 +1,5 @@ 'use strict'; -const fs = require('fs'); const helpers = require('./helpers'); const QueryBuilder = require('./QueryBuilder'); diff --git a/test/config-travis.json b/test/config-travis.json index 2c325ba..2cfdb25 100644 --- a/test/config-travis.json +++ b/test/config-travis.json @@ -15,6 +15,7 @@ "pg-object": { "driver": "pg", "connection": { + "password": "", "database": "test" } },