diff options
author | Leonid Logvinov <logvinov.leon@gmail.com> | 2018-10-02 17:45:22 +0800 |
---|---|---|
committer | Leonid Logvinov <logvinov.leon@gmail.com> | 2018-10-02 21:09:25 +0800 |
commit | fed7e0c8583133a928a7d9d0d811c0c324e90002 (patch) | |
tree | 68f0b526701748a487122fcdefe14e27fd2a8b45 /.circleci | |
parent | 8ee34c49a9c8b29be3440251dcb8746ad6b11a00 (diff) | |
download | dexon-0x-contracts-fed7e0c8583133a928a7d9d0d811c0c324e90002.tar dexon-0x-contracts-fed7e0c8583133a928a7d9d0d811c0c324e90002.tar.gz dexon-0x-contracts-fed7e0c8583133a928a7d9d0d811c0c324e90002.tar.bz2 dexon-0x-contracts-fed7e0c8583133a928a7d9d0d811c0c324e90002.tar.lz dexon-0x-contracts-fed7e0c8583133a928a7d9d0d811c0c324e90002.tar.xz dexon-0x-contracts-fed7e0c8583133a928a7d9d0d811c0c324e90002.tar.zst dexon-0x-contracts-fed7e0c8583133a928a7d9d0d811c0c324e90002.zip |
Merge build & install
Diffstat (limited to '.circleci')
-rw-r--r-- | .circleci/config.yml | 38 |
1 files changed, 4 insertions, 34 deletions
diff --git a/.circleci/config.yml b/.circleci/config.yml index 8940ad0aa..37a10f2f8 100644 --- a/.circleci/config.yml +++ b/.circleci/config.yml @@ -1,7 +1,7 @@ version: 2 jobs: - install-dependencies: + build: resource_class: medium+ docker: - image: circleci/node:9 @@ -17,21 +17,6 @@ jobs: - run: name: yarn command: yarn --frozen-lockfile install || yarn --frozen-lockfile install - - save_cache: - key: repo-deps-{{ .Environment.CIRCLE_SHA1 }} - paths: - - ~/repo - build: - resource_class: medium+ - docker: - - image: circleci/node:9 - environment: - CONTRACTS_COMMIT_HASH: '9ed05f5' - working_directory: ~/repo - steps: - - restore_cache: - keys: - - repo-deps-{{ .Environment.CIRCLE_SHA1 }} - run: > if [ -z "$(git diff --name-only development packages/website)" ]; then yarn build:ci:no_website @@ -179,18 +164,9 @@ jobs: steps: - restore_cache: keys: - - repo-deps-{{ .Environment.CIRCLE_SHA1 }} - - run: cd packages/tslint-config && yarn build:ci - - run: yarn lerna run lint - - run: yarn prettier:ci - bundle-size: - docker: - - image: circleci/node:9 - working_directory: ~/repo - steps: - - restore_cache: - keys: - repo-built-{{ .Environment.CIRCLE_SHA1 }} + - run: yarn lint + - run: yarn prettier:ci - run: cd packages/0x.js && yarn build:umd:prod - run: yarn bundlesize submit-coverage: @@ -257,10 +233,7 @@ workflows: version: 2 main: jobs: - - install-dependencies - - build: - requires: - - install-dependencies + - build - test-contracts-ganache: requires: - build @@ -272,9 +245,6 @@ workflows: - build - static-tests: requires: - - install-dependencies - - bundle-size: - requires: - build - test-publish: requires: |