Truffle box for quick integration with Travis CI and Coveralls
Switch branches/tags
Nothing to show
Clone or download
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Failed to load latest commit information.
contracts
migrations
test
.babelrc
.eslintignore
.eslintrc.js
.gitattributes
.gitignore
.solcover.js
.soliumignore
.soliumrc.json
.travis.yml
README.md
box-img-lg.png
box-img-sm.png
package-lock.json
package.json
truffle-box.json
truffle-config.js
truffle.js

README.md

Truffle CI Box

Build Status Coverage Status contributions welcome

This box comes with everything you need to start a truffle project with Travis-ci and Coveralls integration. It also includes solium, eslint, and several common testing helpers.

Installation

  1. Install Truffle and Ganache CLI globally.

    npm install -g truffle
    npm install -g ganache-cli
  2. Download the box.

    truffle unbox NFhbar/truffle-ci-box
  3. Create a .env file in the root directory and add your private key.

    RINKEBY_PRIVATE_KEY="MyPrivateKeyHere..."
    ROPSTEN_PRIVATE_KEY="MyPrivateKeyHere..."
    
  4. Update the Travis and Coveralls badges in the README file to point to your own repository.

  5. Change any lint or solium rules that you like, and feel free to modify the scripts or anything else you want!