Skip to content
This repository has been archived by the owner on Oct 30, 2018. It is now read-only.

Commit

Permalink
electron-mocha does not work on travis - boo, hiss - roll back to jus…
Browse files Browse the repository at this point in the history
…t mocha
  • Loading branch information
Gordon Hall committed Dec 8, 2015
1 parent 8e46f71 commit 0d27398
Show file tree
Hide file tree
Showing 4 changed files with 19 additions and 6 deletions.
2 changes: 1 addition & 1 deletion .travis.yml
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@ language: node_js
node_js:
- "4.2.2"
after_script:
- npm run coverage-travis
- npm run coverage
- cat ./coverage/lcov.info | ./node_modules/.bin/coveralls
sudo: false
env:
Expand Down
15 changes: 15 additions & 0 deletions CONTRIBUTING.md
Original file line number Diff line number Diff line change
Expand Up @@ -24,6 +24,21 @@ Inline Documentation
Please make use of [JSDoc](http://usejsdoc.org/) style comments for modules.
You can crack open any file in `app/lib` to see examples.

Automated Testing
-----------------



Submitting Pull Requests
------------------------

If you are making non-trivial changes or have a long-running branch, be sure to
go ahead and open a pull request and prefix the title with `[WIP]` to indicate
that it is a work-in-progress. This will allow others to provide feedback while
you are working and reduce the burden of reviewing large changes all at once.

Be sure to include sufficient test coverage for your work.

Project Structure & Patterns
----------------------------

Expand Down
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -2,8 +2,8 @@ DriveShare
==========

[![Build Status](https://travis-ci.org/Storj/driveshare-gui.svg?branch=master)](https://travis-ci.org/Storj/driveshare-gui)

[![Coverage Status](https://coveralls.io/repos/Storj/driveshare-gui/badge.svg?branch=master&service=github)](https://coveralls.io/github/Storj/driveshare-gui?branch=master)
[![Stories in Ready](https://badge.waffle.io/Storj/driveshare-gui.svg?label=ready&title=Ready)](http://waffle.io/Storj/driveshare-gui)

DriveShare is a cross-platform desktop application enabling users to earn money
by sharing their extra hard drive space.
Expand Down
6 changes: 2 additions & 4 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -29,10 +29,8 @@
"build": "./node_modules/.bin/gulp build",
"release": "./node_modules/.bin/gulp release --env=production",
"start": "node ./tasks/start",
"test": "npm run test-unit && npm run test-integration",
"test-unit": "./node_modules/.bin/electron-mocha ./app/test/unit/**",
"test-integration": "./node_modules/.bin/electron-mocha --renderer ./app/test/integration/**",
"coverage-travis": "./node_modules/.bin/istanbul cover ./node_modules/.bin/_mocha ./app/test/unit/** -- --recursive",
"test": "npm run test-unit",
"test-unit": "./node_modules/.bin/mocha ./app/test/unit/**",
"coverage": "./node_modules/.bin/istanbul cover ./node_modules/.bin/_mocha ./app/test/unit/** -- --recursive"
},
"dependencies": {
Expand Down

0 comments on commit 0d27398

Please sign in to comment.