From baa7668cdaba5629345338c5ecbeaa40f0ae0a16 Mon Sep 17 00:00:00 2001 From: Leonid Logvinov Date: Fri, 7 Jul 2017 18:34:56 -0700 Subject: use yarn on CI --- circle.yml | 15 +++++++++++---- 1 file changed, 11 insertions(+), 4 deletions(-) (limited to 'circle.yml') 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 -- cgit v1.2.3