Skip to content

Commit

Permalink
Build: A lot of changes
Browse files Browse the repository at this point in the history
Added semantic-release with a better TravisCI config; linted and moved around some files (for
consistency sake)
  • Loading branch information
Berkmann18 committed Nov 6, 2018
1 parent 31022f8 commit 393c711
Show file tree
Hide file tree
Showing 15 changed files with 13,047 additions and 7,134 deletions.
6 changes: 3 additions & 3 deletions .github/CONTRIBUTING.md
Original file line number Diff line number Diff line change
@@ -1,7 +1,6 @@
# Contribution guide

1. Make sure you always pull the latest changes from the repo and `rebase` from the
`master` branch whenever it's necessary.
1. Make sure you always pull the latest changes from the repo and `rebase` from the `master` branch whenever it's necessary.
2. Always work on the `dev` branch or dedicated branches (e.g.: for features).
3. Don't modify generated files in `/doc` and in `/dist`.
4. Squash commits in branches to reduce the chain whenever its possible.
Expand All @@ -14,5 +13,6 @@ with `npm run lint`).

## Project structure
- **`build`**: contains built files for distribution.
- **`doc`**: contains documentation files.
- **`src`**: contains source files.
- **`test`**: contains all tests, unit tests are written using Jest and E2E are written with Nightwatch.
- **`tests`**: contains all tests, unit tests are written using Jest and E2E are written with Nightwatch.
12 changes: 6 additions & 6 deletions .github/ISSUE_TEMPLATE.md
Original file line number Diff line number Diff line change
Expand Up @@ -12,11 +12,11 @@ How do you think, the issue should be solved ?
If it's a feature idea discussion, what feature(s) do you suggest ?

## Environment
- Version: Essence 2.x.y
- OS(s):
- Browser(s):
- Language: ES6/7
- Node version:
- NPM version:
- Version: Essence 2.x.y
- OS(s):
- Browser(s):
- Language: ES6/7
- Node version:
- NPM version:

## Additional information
20 changes: 16 additions & 4 deletions .github/TODO.md
Original file line number Diff line number Diff line change
@@ -1,4 +1,16 @@
1. Change dependabot badge to the correct one (in README)
2. Add (S)CSS linting stuff
3. Add git labels
4. Make sure the badges are correct
- [X] Add Elliptic Curve DSA
- [X] Add wallets with addresses and PK/SK pairs
- [ ] Prevent double-spending
- [X] Make sure that only available coins can be spent and that there's enough fee which goes to the correct place
- [ ] REST interface
- [ ] P2P using websocket (ws package)
- [ ] DB to save the blockchain and the wallets (to avoid loosing progress)
- [ ] GUI for the blockchain
- [X] Use Merkel trees (such as [this](https://github.com/miguelmota/merkle-tree))
- [ ] Add Proof of Stake
- [ ] Add consensus to the chain ([grey paper](https://hackernoon.com/building-a-blockchain-the-grey-paper-5be456018040))
- [ ] Adding Smart contracts
- [ ] Changing BANK into a proper wallet (so hide the sk and promote its wallet to itself)
- [ ] Making sure the documentation covers the source modules
- [X] Create a logo for the coin
- [X] Add a code coverage check
27 changes: 19 additions & 8 deletions .travis.yml
Original file line number Diff line number Diff line change
@@ -1,13 +1,24 @@
language: node_js
node_js:
- "node"
cache:
directories:
- "node_modules"
- ~/.npm
notifications:
email: false
node_js:
- 'node'
- '10'
- '9'
- '8'
- '6'
install:
npm i -g codecov
# safelist
- npm i
- npm i codecov jest eslint
script:
- npm run lint
- npm test
- codecov
after_success:
- npm run travis-deploy-once "npm run semantic-release"
branches:
only:
- master
- /^v\d+\.\d+(\.\d+)?(-\S*)?$/ #vX.Y
except:
- /^v\d+\.\d+\.\d+$/
5 changes: 0 additions & 5 deletions CHANGELOG.md

This file was deleted.

Loading

0 comments on commit 393c711

Please sign in to comment.