Files
protocol/circle.yml
2017-07-11 00:30:14 -07:00

17 lines
474 B
YAML

machine:
node:
version: 6.1.0
environment:
CONTRACTS_COMMIT_HASH: '414e997'
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