aboutsummaryrefslogblamecommitdiffstats
path: root/circle.yml
blob: 9764ae7f27a5b29caa62ab102c4b3eb57d8ffebe (plain) (tree)
1
2
3
4
5
6
7
8
9
10

        
                  
              
                                      
 

           

                                                                                  
                                               
                        
                           
                                  
                                                                 
                  
machine:
  node:
    version: 6.5.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