Add .travis.yml
This commit is contained in:
12
.travis.yml
Normal file
12
.travis.yml
Normal 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
|
||||||
@ -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"
|
||||||
|
|||||||
Reference in New Issue
Block a user