Files
protocol/circle.yml
2017-07-04 17:54:31 -07:00

17 lines
472 B
YAML

machine:
node:
version: 6.1.0
environment:
CONTRACTS_COMMIT_HASH: cd04d7c
test:
override:
- 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
- npm run test:coverage
- npm run report_test_coverage
- if [ $CIRCLE_BRANCH = "master" ]; then npm run test:umd; fi
- npm run lint