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.
-
Install Truffle and Ganache CLI globally.
npm install -g truffle npm install -g ganache-cli
-
Download the box.
truffle unbox NFhbar/truffle-ci-box
-
Create a
.env
file in the root directory and add your private key.RINKEBY_PRIVATE_KEY="MyPrivateKeyHere..." ROPSTEN_PRIVATE_KEY="MyPrivateKeyHere..."
-
Update the Travis and Coveralls badges in the
README
file to point to your own repository. -
Change any lint or solium rules that you like, and feel free to modify the scripts or anything else you want!