aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--circle.yml6
-rw-r--r--package.json4
2 files changed, 9 insertions, 1 deletions
diff --git a/circle.yml b/circle.yml
index 65db7c29a..338bf0b87 100644
--- a/circle.yml
+++ b/circle.yml
@@ -4,4 +4,10 @@ machine:
test:
override:
+ - node node_modules/ethereumjs-testrpc/bin/testrpc:
+ background: true
+ - git clone git@github.com:0xProject/contracts.git ../contracts
+ - cd ../contracts; npm install && npm run migrate
+ - npm run update_contracts
- npm run test:coverage
+ - npm run lint
diff --git a/package.json b/package.json
index 48a26fd48..5f7b7014a 100644
--- a/package.json
+++ b/package.json
@@ -20,7 +20,8 @@
"docs:json": "typedoc --json docs/index.json .",
"docs:generate": "typedoc --out docs .",
"docs:open": "opn docs/index.html",
- "update_contracts": "for i in ${npm_package_config_artifacts}; do copyfiles -u 4 ./../contracts/build/contracts/$i.json ./../0x.js/src/artifacts; done;"
+ "update_contracts": "for i in ${npm_package_config_artifacts}; do copyfiles -u 4 ./../contracts/build/contracts/$i.json ./../0x.js/src/artifacts; done;",
+ "testrpc": "testrpc -p 8545 --networkId 50"
},
"config": {
"artifacts": "Proxy Exchange TokenRegistry Token Mintable EtherToken"
@@ -47,6 +48,7 @@
"chai-as-promised": "^6.0.0",
"chai-bignumber": "^2.0.0",
"copyfiles": "^1.2.0",
+ "ethereumjs-testrpc": "^3.0.5",
"json-loader": "^0.5.4",
"mocha": "^3.4.1",
"npm-run-all": "^4.0.2",