diff options
author | Leonid Logvinov <logvinov.leon@gmail.com> | 2017-07-08 09:34:56 +0800 |
---|---|---|
committer | Fabio Berger <me@fabioberger.com> | 2017-07-11 15:30:14 +0800 |
commit | 994b51590f0aef06b3022dc170150ba7d3f6579f (patch) | |
tree | 85e5e045352f2c5b7923daca92f9a98c43530250 /circle.yml | |
parent | 4fb2b5cf2b5bc644635603a428496324b3bb14ec (diff) | |
download | dexon-sol-tools-994b51590f0aef06b3022dc170150ba7d3f6579f.tar.gz dexon-sol-tools-994b51590f0aef06b3022dc170150ba7d3f6579f.tar.zst dexon-sol-tools-994b51590f0aef06b3022dc170150ba7d3f6579f.zip |
use yarn on CI
Diffstat (limited to 'circle.yml')
-rw-r--r-- | circle.yml | 15 |
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 |