aboutsummaryrefslogtreecommitdiffstats
path: root/circle.yml
diff options
context:
space:
mode:
authorLeonid <logvinov.leon@gmail.com>2017-07-05 08:43:42 +0800
committerGitHub <noreply@github.com>2017-07-05 08:43:42 +0800
commitc81855e1196aef738cb741a5ddeacc347a6a81cb (patch)
treea7fb2532ddf923ff9b4de2d2468ae5cb215d007b /circle.yml
parent8f8b678e7c7123ed6f587a77c8e332ce9df1a708 (diff)
parentdb53c5a41f0792d08e235e59de00418ed70c9441 (diff)
downloaddexon-sol-tools-c81855e1196aef738cb741a5ddeacc347a6a81cb.tar
dexon-sol-tools-c81855e1196aef738cb741a5ddeacc347a6a81cb.tar.gz
dexon-sol-tools-c81855e1196aef738cb741a5ddeacc347a6a81cb.tar.bz2
dexon-sol-tools-c81855e1196aef738cb741a5ddeacc347a6a81cb.tar.lz
dexon-sol-tools-c81855e1196aef738cb741a5ddeacc347a6a81cb.tar.xz
dexon-sol-tools-c81855e1196aef738cb741a5ddeacc347a6a81cb.tar.zst
dexon-sol-tools-c81855e1196aef738cb741a5ddeacc347a6a81cb.zip
Merge pull request #93 from 0xProject/testrpc-snapshot
Testrpc snapshots
Diffstat (limited to 'circle.yml')
-rw-r--r--circle.yml8
1 files changed, 5 insertions, 3 deletions
diff --git a/circle.yml b/circle.yml
index 7bb33efed..d56ff21bb 100644
--- a/circle.yml
+++ b/circle.yml
@@ -1,13 +1,15 @@
machine:
node:
version: 6.1.0
+ environment:
+ CONTRACTS_COMMIT_HASH: cd04d7c
test:
override:
- - npm run testrpc:
+ - wget https://s3.amazonaws.com/testrpc-shapshots/${CONTRACTS_COMMIT_HASH}.zip
+ - unzip ${CONTRACTS_COMMIT_HASH}.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