diff options
Diffstat (limited to '.circleci/config.yml')
-rw-r--r-- | .circleci/config.yml | 25 |
1 files changed, 16 insertions, 9 deletions
diff --git a/.circleci/config.yml b/.circleci/config.yml index bb2fa0239..0d3c2f108 100644 --- a/.circleci/config.yml +++ b/.circleci/config.yml @@ -19,6 +19,9 @@ jobs: - yarn-packages- - run: name: yarn + command: yarn --frozen-lockfile install || true + - run: + name: yarn command: yarn --frozen-lockfile install - save_cache: name: Save Yarn Package Cache @@ -66,6 +69,15 @@ jobs: keys: - repo-{{ .Environment.CIRCLE_SHA1 }} - run: yarn test:publish:circleci + test-doc-generation: + docker: + - image: circleci/node:9 + working_directory: ~/repo + steps: + - restore_cache: + keys: + - repo-{{ .Environment.CIRCLE_SHA1 }} + - run: yarn test:generate_docs:circleci test-rest: docker: - image: circleci/node:9 @@ -74,7 +86,6 @@ jobs: - restore_cache: keys: - repo-{{ .Environment.CIRCLE_SHA1 }} - - run: yarn wsrun test:circleci 0x.js - run: yarn wsrun test:circleci @0xproject/abi-gen - run: yarn wsrun test:circleci @0xproject/assert - run: yarn wsrun test:circleci @0xproject/base-contract @@ -92,10 +103,6 @@ jobs: - run: yarn wsrun test:circleci @0xproject/web3-wrapper - run: yarn wsrun test:circleci @0xproject/utils - save_cache: - key: coverage-0xjs-{{ .Environment.CIRCLE_SHA1 }} - paths: - - ~/repo/packages/0x.js/coverage/lcov.info - - save_cache: key: coverage-abi-gen-{{ .Environment.CIRCLE_SHA1 }} paths: - ~/repo/packages/abi-gen/coverage/lcov.info @@ -175,9 +182,6 @@ jobs: - repo-{{ .Environment.CIRCLE_SHA1 }} - restore_cache: keys: - - coverage-0xjs-{{ .Environment.CIRCLE_SHA1 }} - - restore_cache: - keys: - coverage-abi-gen-{{ .Environment.CIRCLE_SHA1 }} - restore_cache: keys: @@ -245,6 +249,9 @@ workflows: - test-publish: requires: - build + - test-doc-generation: + requires: + - build - submit-coverage: requires: - - test-rest + - test-rest
\ No newline at end of file |