aboutsummaryrefslogtreecommitdiffstats
path: root/circle.yml
blob: 028aadd58b7c77647ee905ed16f6963cf3fb19e5 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
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