aboutsummaryrefslogtreecommitdiffstats
path: root/.circleci
diff options
context:
space:
mode:
authorkumavis <aaron@kumavis.me>2018-03-28 05:16:58 +0800
committerkumavis <aaron@kumavis.me>2018-03-28 05:16:58 +0800
commit62e1cbd33b440b8dcb98446b2fdee3f66ab5c1ad (patch)
tree05f720441a0d2bd91345cb01901eefaf90bad7d8 /.circleci
parente0d98e73e3fc2cc909b21892da3ac7f5b6d1a05e (diff)
downloadtangerine-wallet-browser-62e1cbd33b440b8dcb98446b2fdee3f66ab5c1ad.tar
tangerine-wallet-browser-62e1cbd33b440b8dcb98446b2fdee3f66ab5c1ad.tar.gz
tangerine-wallet-browser-62e1cbd33b440b8dcb98446b2fdee3f66ab5c1ad.tar.bz2
tangerine-wallet-browser-62e1cbd33b440b8dcb98446b2fdee3f66ab5c1ad.tar.lz
tangerine-wallet-browser-62e1cbd33b440b8dcb98446b2fdee3f66ab5c1ad.tar.xz
tangerine-wallet-browser-62e1cbd33b440b8dcb98446b2fdee3f66ab5c1ad.tar.zst
tangerine-wallet-browser-62e1cbd33b440b8dcb98446b2fdee3f66ab5c1ad.zip
ci - run e2e tests after build step
Diffstat (limited to '.circleci')
-rw-r--r--.circleci/config.yml39
1 files changed, 21 insertions, 18 deletions
diff --git a/.circleci/config.yml b/.circleci/config.yml
index f812767ad..ed6dc7802 100644
--- a/.circleci/config.yml
+++ b/.circleci/config.yml
@@ -6,7 +6,7 @@ workflows:
jobs:
- prep-deps-npm
- prep-deps-firefox
- - build:
+ - prep-build:
requires:
- prep-deps-npm
- prep-scss:
@@ -17,6 +17,7 @@ workflows:
- prep-deps-npm
- test-e2e:
requires:
+ - prep-build
- prep-deps-npm
- test-unit:
requires:
@@ -71,6 +72,23 @@ jobs:
paths:
- firefox
+ prep-build:
+ docker:
+ - image: circleci/node:8-browsers
+ steps:
+ - checkout
+ - restore_cache:
+ key: dependency-cache-{{ checksum "package-lock.json" }}
+ - run:
+ name: build:dist
+ command: npm run dist
+ - run:
+ name: build:debug
+ command: find dist/ -type f -exec md5sum {} \; | sort -k 2
+ - save_cache:
+ key: build-cache-{{ .Revision }}
+ paths:
+ - dist
prep-scss:
docker:
@@ -109,9 +127,8 @@ jobs:
- checkout
- restore_cache:
key: dependency-cache-{{ checksum "package-lock.json" }}
- - run:
- name: Build
- command: npm run dist
+ - restore_cache:
+ key: build-cache-{{ .Revision }}
- run:
name: Test
command: npm run test:e2e
@@ -220,17 +237,3 @@ jobs:
- run:
name: test:integration:mascara
command: npm run test:mascara
-
- build:
- docker:
- - image: circleci/node:8-browsers
- steps:
- - checkout
- - restore_cache:
- key: dependency-cache-{{ checksum "package-lock.json" }}
- - run:
- name: build:dist
- command: npm run dist
- - run:
- name: build:debug
- command: find dist/ -type f -exec md5sum {} \; | sort -k 2