aboutsummaryrefslogtreecommitdiffstats
path: root/.circleci/config.yml
diff options
context:
space:
mode:
authorLeonid Logvinov <logvinov.leon@gmail.com>2018-05-26 01:09:16 +0800
committerLeonid Logvinov <logvinov.leon@gmail.com>2018-06-01 01:32:43 +0800
commitadfba06e856d4a86d4b0276f1e59551f77772927 (patch)
treeeb0c282b8737d9fcfcf3b269a1a9c6c7684a6b64 /.circleci/config.yml
parent6ee4e954f67f45afabf85dbc243ccaa7eb743f3a (diff)
downloaddexon-sol-tools-adfba06e856d4a86d4b0276f1e59551f77772927.tar
dexon-sol-tools-adfba06e856d4a86d4b0276f1e59551f77772927.tar.gz
dexon-sol-tools-adfba06e856d4a86d4b0276f1e59551f77772927.tar.bz2
dexon-sol-tools-adfba06e856d4a86d4b0276f1e59551f77772927.tar.lz
dexon-sol-tools-adfba06e856d4a86d4b0276f1e59551f77772927.tar.xz
dexon-sol-tools-adfba06e856d4a86d4b0276f1e59551f77772927.tar.zst
dexon-sol-tools-adfba06e856d4a86d4b0276f1e59551f77772927.zip
Combine lint and pretttier tests together
Diffstat (limited to '.circleci/config.yml')
-rw-r--r--.circleci/config.yml20
1 files changed, 3 insertions, 17 deletions
diff --git a/.circleci/config.yml b/.circleci/config.yml
index e584f110d..ff17eb54c 100644
--- a/.circleci/config.yml
+++ b/.circleci/config.yml
@@ -106,16 +106,7 @@ jobs:
key: coverage-metacoin-{{ .Environment.CIRCLE_SHA1 }}
paths:
- ~/repo/packages/metacoin/coverage/lcov.info
- lint:
- working_directory: ~/repo
- docker:
- - image: circleci/node:6.12
- steps:
- - restore_cache:
- keys:
- - repo-{{ .Environment.CIRCLE_SHA1 }}
- - run: yarn lerna:run lint
- prettier:
+ static_tests:
working_directory: ~/repo
docker:
- image: circleci/node:6.12
@@ -124,6 +115,7 @@ jobs:
keys:
- repo-{{ .Environment.CIRCLE_SHA1 }}
- run: yarn prettier:ci
+ - run: yarn lerna:run lint
submit-coverage:
docker:
- image: circleci/node:6.12
@@ -168,9 +160,6 @@ workflows:
main:
jobs:
- build
- # - test-installation:
- # requires:
- # - build
- test-contract-wrappers:
requires:
- build
@@ -183,10 +172,7 @@ workflows:
- test-rest:
requires:
- build
- - prettier:
- requires:
- - build
- - lint:
+ - static_tests:
requires:
- build
- submit-coverage: