aboutsummaryrefslogtreecommitdiffstats
path: root/.circleci/config.yml
diff options
context:
space:
mode:
authorLeonid Logvinov <logvinov.leon@gmail.com>2018-01-16 20:44:38 +0800
committerLeonid Logvinov <logvinov.leon@gmail.com>2018-01-16 20:44:38 +0800
commit835fa0af131f8a0deeb6dc1030e584687f336332 (patch)
tree71a2a5b20a05ad3d991956a0c229c79050c71d45 /.circleci/config.yml
parent62e3feeb94bcbd8dd32cba24a0270b4afabce7e8 (diff)
downloaddexon-sol-tools-835fa0af131f8a0deeb6dc1030e584687f336332.tar
dexon-sol-tools-835fa0af131f8a0deeb6dc1030e584687f336332.tar.gz
dexon-sol-tools-835fa0af131f8a0deeb6dc1030e584687f336332.tar.bz2
dexon-sol-tools-835fa0af131f8a0deeb6dc1030e584687f336332.tar.lz
dexon-sol-tools-835fa0af131f8a0deeb6dc1030e584687f336332.tar.xz
dexon-sol-tools-835fa0af131f8a0deeb6dc1030e584687f336332.tar.zst
dexon-sol-tools-835fa0af131f8a0deeb6dc1030e584687f336332.zip
Test workflow
Diffstat (limited to '.circleci/config.yml')
-rw-r--r--.circleci/config.yml20
1 files changed, 20 insertions, 0 deletions
diff --git a/.circleci/config.yml b/.circleci/config.yml
index 85b055571..e64f4b5b7 100644
--- a/.circleci/config.yml
+++ b/.circleci/config.yml
@@ -20,10 +20,30 @@ jobs:
- run: unzip ${CONTRACTS_COMMIT_HASH}.zip -d testrpc_snapshot
- run: node ./node_modules/lerna/bin/lerna.js bootstrap
- run: yarn lerna:run build
+ test:
+ steps:
- run:
name: testrpc
command: npm run testrpc -- --db testrpc_snapshot
background: true
- run: yarn lerna:run test:circleci
+ lint:
+ steps:
- run: yarn lerna:run lint
+ prettier:
+ steps:
- run: yarn prettier:ci
+workflows:
+ version: 2
+ main:
+ jobs:
+ - build
+ - test:
+ requires:
+ - build
+ - lint:
+ requires:
+ - build
+ - prettier:
+ requires:
+ - build