diff options
author | Leonid <logvinov.leon@gmail.com> | 2017-07-05 08:43:42 +0800 |
---|---|---|
committer | GitHub <noreply@github.com> | 2017-07-05 08:43:42 +0800 |
commit | c81855e1196aef738cb741a5ddeacc347a6a81cb (patch) | |
tree | a7fb2532ddf923ff9b4de2d2468ae5cb215d007b | |
parent | 8f8b678e7c7123ed6f587a77c8e332ce9df1a708 (diff) | |
parent | db53c5a41f0792d08e235e59de00418ed70c9441 (diff) | |
download | dexon-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
-rw-r--r-- | circle.yml | 8 | ||||
-rw-r--r-- | package.json | 2 |
2 files changed, 6 insertions, 4 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 diff --git a/package.json b/package.json index 4f9c6f3ae..4ff17c2d9 100644 --- a/package.json +++ b/package.json @@ -14,7 +14,7 @@ "scripts": { "prebuild": "npm run clean", "build": "run-p build:*:prod", - "prepublish": "run-p build:umd:prod build:commonjs:dev", + "prepublishOnly": "run-p build:umd:prod build:commonjs:dev", "postpublish": "run-s release docs:json upload_docs_json", "release": "publish-release --assets _bundles/index.js,_bundles/index.min.js", "upload_docs_json": "aws s3 cp docs/index.json s3://0xjs-docs-jsons/$(git describe --tags).json --profile 0xproject --grants read=uri=http://acs.amazonaws.com/groups/global/AllUsers --content-type aplication/json", |