diff options
-rw-r--r-- | circle.yml | 8 |
1 files changed, 5 insertions, 3 deletions
diff --git a/circle.yml b/circle.yml index 7bb33efed..3db83209d 100644 --- a/circle.yml +++ b/circle.yml @@ -1,13 +1,15 @@ machine: node: version: 6.1.0 + environment: + CONTRACTS_COMMIT: cd04d7c test: override: - - npm run testrpc: + - wget https://s3.amazonaws.com/testrpc-shapshots/${CONTRACTS_COMMIT}.zip + - unzip ${CONTRACTS_COMMIT}.zip -d testrpc_snapshot + - npm run testrpc -- --db testrpc_snapshot: background: true - - git clone git@github.com:0xProject/contracts.git ../contracts - - cd ../contracts; git checkout cd04d7c; npm install && npm run migrate - npm run test:coverage - npm run report_test_coverage - npm run test:umd |