Merge branch 'master' into subscribe-token
This commit is contained in:
@@ -7,9 +7,10 @@
|
||||
This repository contains a Javascript library that makes it easy to build Relayers and other DApps that use the 0x protocol.
|
||||
|
||||
[](https://circleci.com/gh/0xProject/0x.js)
|
||||
[](https://badge.fury.io/js/0x.js)
|
||||
[](https://coveralls.io/github/0xProject/0x.js?branch=master)
|
||||
[](http://slack.0xProject.com)
|
||||
[](https://gitter.im/0xProject/contracts?utm_source=badge&utm_medium=badge&utm_campaign=pr-badge&utm_content=badge)
|
||||
[](https://gitter.im/0xProject/Lobby?utm_source=badge&utm_medium=badge&utm_campaign=pr-badge&utm_content=badge)
|
||||
[](https://opensource.org/licenses/Apache-2.0)
|
||||
[](https://greenkeeper.io/)
|
||||
|
||||
|
||||
@@ -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
|
||||
|
||||
@@ -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",
|
||||
|
||||
Reference in New Issue
Block a user