aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorLeonid Logvinov <logvinov.leon@gmail.com>2017-07-08 09:34:56 +0800
committerLeonid Logvinov <logvinov.leon@gmail.com>2017-07-08 09:34:56 +0800
commitbaa7668cdaba5629345338c5ecbeaa40f0ae0a16 (patch)
tree5cc64cae137a1e030edfa69ed61620368ca2ce5d
parent48a79a8488cc580371649fd1d355cd9e205c96cc (diff)
downloaddexon-sol-tools-baa7668cdaba5629345338c5ecbeaa40f0ae0a16.tar
dexon-sol-tools-baa7668cdaba5629345338c5ecbeaa40f0ae0a16.tar.gz
dexon-sol-tools-baa7668cdaba5629345338c5ecbeaa40f0ae0a16.tar.bz2
dexon-sol-tools-baa7668cdaba5629345338c5ecbeaa40f0ae0a16.tar.lz
dexon-sol-tools-baa7668cdaba5629345338c5ecbeaa40f0ae0a16.tar.xz
dexon-sol-tools-baa7668cdaba5629345338c5ecbeaa40f0ae0a16.tar.zst
dexon-sol-tools-baa7668cdaba5629345338c5ecbeaa40f0ae0a16.zip
use yarn on CI
-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