Add .travis.yml

This commit is contained in:
Manuel Araoz
2016-11-22 20:21:43 -08:00
parent 3606f49162
commit 2c7d883164
2 changed files with 16 additions and 1 deletions

12
.travis.yml Normal file
View File

@ -0,0 +1,12 @@
dist: trusty
sudo: false
group: beta
language: node_js
node_js:
- "6"
before_install:
- npm i -g ethereumjs-testrpc
- npm i -g truffle
script:
- testrpc&
- npm test

View File

@ -3,7 +3,10 @@
"version": "0.0.11", "version": "0.0.11",
"description": "Secure Smart Contract library for Solidity", "description": "Secure Smart Contract library for Solidity",
"main": "truffle.js", "main": "truffle.js",
"devDependencies": {}, "devDependencies": {
"ethereumjs-testrpc": "^3.0.2",
"truffle": "^2.1.1"
},
"scripts": { "scripts": {
"test": "truffle test", "test": "truffle test",
"install": "scripts/install.sh" "install": "scripts/install.sh"