another attempt at getting travis to build
This commit is contained in:
parent
85c6d2a417
commit
8f0a392505
@ -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
|
@ -1,6 +1,5 @@
|
||||
'use strict';
|
||||
|
||||
const fs = require('fs');
|
||||
const helpers = require('./helpers');
|
||||
const QueryBuilder = require('./QueryBuilder');
|
||||
|
||||
|
@ -15,6 +15,7 @@
|
||||
"pg-object": {
|
||||
"driver": "pg",
|
||||
"connection": {
|
||||
"password": "",
|
||||
"database": "test"
|
||||
}
|
||||
},
|
||||
|
Loading…
Reference in New Issue
Block a user