diff --git a/README.md b/README.md index 2920557..c91b966 100644 --- a/README.md +++ b/README.md @@ -1,6 +1,6 @@ Node.js Postgres Sample [![Build Status](https://apibeta.shippable.com/projects/5373de85f39baf5a00c05ade/badge/master)](https://beta.shippable.com/projects/5373de85f39baf5a00c05ade) ================= - +test An example using Postgres on Shippable with the Knex module. To run the tests: diff --git a/shippable.yml b/shippable.yml deleted file mode 100644 index 64cf0eb..0000000 --- a/shippable.yml +++ /dev/null @@ -1,42 +0,0 @@ -language: node_js - -node_js: - - 0.10 - -# For xunit-file module to put results in shippable folder -env: - global: - - XUNIT_FILE=shippable/testresults/result.xml - - secure: Z5T3HsgnoI0QdMT5EhaDq/tgkn00Op1ujt9lH4Poa0cb6XC86ek66eUkGu0TUqjzTy/Y6rt1pe77KKOWNKGDFyJtblPH3A42ibtt0Am4R93NoSXrg/9Y5Ivc2QYawv4mjalA5fWYw7FjTxq1b8cvc/ktCiyyw37dd7XlLhUw7xBcjgwcApoMvPoo7Uzdwc0+uaY9F0cLSbvqyvNS5S88EGkgw0RHhTlZ2KWen5BONTNV+FXTMhVbhp6YG8Y6M6V4a4veBFjnHZaAUgTryRFJhDMQ8vk7dGKap+ALrvgSFJ694c4O9c5Gk35XosZa+lgPNST1jEpCbHcv+olU4yCvsA== - #beta - - #Create a DB as part of before script to use it -# Make folders for the reports, and create the SQL db -before_script: - - mkdir -p shippable/testresults - - mkdir -p shippable/codecoverage - - mkdir -p shippable/src - - psql -c 'DROP DATABASE IF EXISTS app_test ;' -U postgres -w - - psql -c 'CREATE DATABASE app_test;' -U postgres - - echo $test - - -script: - - npm test - -addons: - postgresql: 9.3 - -# Generate coverage report with istanbul -after_script: -# - psql -c 'create database if not exists test;' -U postgres - - ./node_modules/.bin/istanbul cover ./node_modules/.bin/_mocha -- --ui=bdd --reporter=xunit-file - - ./node_modules/.bin/istanbul report cobertura --dir shippable/codecoverage/ - - -#cache: true - -addons: - postgresql : "9.3" - -