aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--circle.yml15
1 files changed, 11 insertions, 4 deletions
diff --git a/circle.yml b/circle.yml
index 9764ae7f2..fbfa67c6d 100644
--- a/circle.yml
+++ b/circle.yml
@@ -3,6 +3,13 @@ machine:
version: 6.5.0
environment:
CONTRACTS_COMMIT_HASH: '414e997'
+ PATH: "${PATH}:${HOME}/${CIRCLE_PROJECT_REPONAME}/node_modules/.bin"
+
+dependencies:
+ override:
+ - yarn
+ cache_directories:
+ - ~/.cache/yarn
test:
override:
@@ -10,7 +17,7 @@ test:
- 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
+ - yarn test:coverage
+ - yarn report_test_coverage
+ - if [ $CIRCLE_BRANCH = "master" ]; then yarn test:umd; fi
+ - yarn lint