aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorLeonid Logvinov <logvinov.leon@gmail.com>2017-07-05 07:22:21 +0800
committerLeonid Logvinov <logvinov.leon@gmail.com>2017-07-05 07:30:55 +0800
commitea2dbaabeb208497b6deb77521900e6178c67676 (patch)
treef7e7626a6902ea79df1b1aaf357cce6f4e1e75fe
parent8f8b678e7c7123ed6f587a77c8e332ce9df1a708 (diff)
downloaddexon-sol-tools-ea2dbaabeb208497b6deb77521900e6178c67676.tar
dexon-sol-tools-ea2dbaabeb208497b6deb77521900e6178c67676.tar.gz
dexon-sol-tools-ea2dbaabeb208497b6deb77521900e6178c67676.tar.bz2
dexon-sol-tools-ea2dbaabeb208497b6deb77521900e6178c67676.tar.lz
dexon-sol-tools-ea2dbaabeb208497b6deb77521900e6178c67676.tar.xz
dexon-sol-tools-ea2dbaabeb208497b6deb77521900e6178c67676.tar.zst
dexon-sol-tools-ea2dbaabeb208497b6deb77521900e6178c67676.zip
Use testrpc snapshots in tests
-rw-r--r--circle.yml8
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