Skip to content
This repository has been archived by the owner on Nov 10, 2023. It is now read-only.

Commit

Permalink
Fix build travis script
Browse files Browse the repository at this point in the history
  • Loading branch information
rockie committed Oct 10, 2018
1 parent a0ae26b commit c4f8c94
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 1 deletion.
1 change: 1 addition & 0 deletions README.md
Original file line number Diff line number Diff line change
@@ -1,3 +1,4 @@
[![npm version](https://badge.fury.io/js/cli-worker.svg)](https://badge.fury.io/js/cli-worker)
[![Build Status](https://travis-ci.org/kitmi/cli-worker.svg?branch=master)](https://travis-ci.org/kitmi/cli-worker)
[![Coverage Status](https://coveralls.io/repos/github/kitmi/cli-worker/badge.svg?branch=master)](https://coveralls.io/github/kitmi/cli-worker?branch=master)

Expand Down
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@
"cover": "nyc --reporter=html --reporter=text mocha -t 5000 test/*.mocha.js",
"test:only": "mocha test/*.mocha.js --timeout 5000",
"test": "npm run build:test && npm run test:only",
"travis": "npm run build:development && USER_MONGODB_URL='mongodb://travis:test@localhost:27017/bi-logs' nyc --reporter=lcovonly mocha test/*.mocha.js --timeout 10000 && cat ./coverage/lcov.info | ./node_modules/coveralls/bin/coveralls.js && rm -rf ./coverage",
"travis": "npm run build && USER_MONGODB_URL='mongodb://travis:test@localhost:27017/bi-logs' nyc --reporter=lcovonly mocha test/*.mocha.js --timeout 10000 && cat ./coverage/lcov.info | ./node_modules/coveralls/bin/coveralls.js && rm -rf ./coverage",
"bulid:clean": "rm -rf lib",
"build": "npm run bulid:clean && NODE_ENV=development babel src -d lib --copy-files",
"build:prod": "npm run bulid:clean && NODE_ENV=production babel src -d lib --copy-files",
Expand Down

0 comments on commit c4f8c94

Please sign in to comment.