aboutsummaryrefslogtreecommitdiffstats
path: root/.circleci
diff options
context:
space:
mode:
authorAlex Browne <stephenalexbrowne@gmail.com>2018-08-14 07:49:50 +0800
committerGitHub <noreply@github.com>2018-08-14 07:49:50 +0800
commit283175df9827be38f8cc9f18d3914e3661456fc4 (patch)
tree569f4ce716ff15c533adb36021c9b95b5f27e24b /.circleci
parentaeb368a1d92cd0f558db3e7456eccbb7cccd50aa (diff)
downloaddexon-0x-contracts-283175df9827be38f8cc9f18d3914e3661456fc4.tar.gz
dexon-0x-contracts-283175df9827be38f8cc9f18d3914e3661456fc4.tar.zst
dexon-0x-contracts-283175df9827be38f8cc9f18d3914e3661456fc4.zip
Run publish/installation tests in CircleCI (#951)
feat(monorepo-scripts): Run publish tests in CircleCI
Diffstat (limited to '.circleci')
-rw-r--r--.circleci/config.yml13
1 files changed, 13 insertions, 0 deletions
diff --git a/.circleci/config.yml b/.circleci/config.yml
index 43e542a86..a6fb511b9 100644
--- a/.circleci/config.yml
+++ b/.circleci/config.yml
@@ -56,6 +56,16 @@ jobs:
# HACK(albrow): we need to sleep 10 seconds to ensure the devnet is
# initialized
- run: sleep 10 && TEST_PROVIDER=geth yarn wsrun test contracts
+ test-publish:
+ docker:
+ - image: circleci/node:9
+ - image: verdaccio/verdaccio
+ working_directory: ~/repo
+ steps:
+ - restore_cache:
+ keys:
+ - repo-{{ .Environment.CIRCLE_SHA1 }}
+ - run: yarn test:publish:circleci
test-rest:
docker:
- image: circleci/node:9
@@ -232,6 +242,9 @@ workflows:
- static-tests:
requires:
- build
+ - test-publish:
+ requires:
+ - build
- submit-coverage:
requires:
- test-rest