aboutsummaryrefslogtreecommitdiffstats
path: root/.circleci/config.yml
diff options
context:
space:
mode:
authorkumavis <aaron@kumavis.me>2018-03-31 08:59:15 +0800
committerkumavis <aaron@kumavis.me>2018-03-31 08:59:15 +0800
commit6d3da95a95790361aec4409eb67b4ec2649c4455 (patch)
treed3e25b6358723086787560587bbe1252c77d84ac /.circleci/config.yml
parent69ff600c747c588cfe2c6792367e091b7f648d8d (diff)
downloadtangerine-wallet-browser-6d3da95a95790361aec4409eb67b4ec2649c4455.tar
tangerine-wallet-browser-6d3da95a95790361aec4409eb67b4ec2649c4455.tar.gz
tangerine-wallet-browser-6d3da95a95790361aec4409eb67b4ec2649c4455.tar.bz2
tangerine-wallet-browser-6d3da95a95790361aec4409eb67b4ec2649c4455.tar.lz
tangerine-wallet-browser-6d3da95a95790361aec4409eb67b4ec2649c4455.tar.xz
tangerine-wallet-browser-6d3da95a95790361aec4409eb67b4ec2649c4455.tar.zst
tangerine-wallet-browser-6d3da95a95790361aec4409eb67b4ec2649c4455.zip
ci - breakout announce job to upload builds and screenshots
Diffstat (limited to '.circleci/config.yml')
-rw-r--r--.circleci/config.yml48
1 files changed, 35 insertions, 13 deletions
diff --git a/.circleci/config.yml b/.circleci/config.yml
index b0bd97ef0..14d693d7d 100644
--- a/.circleci/config.yml
+++ b/.circleci/config.yml
@@ -17,12 +17,17 @@ workflows:
- prep-deps-npm
- test-e2e:
requires:
- - prep-build
- prep-deps-npm
- - test-screens:
+ - prep-build
+ - job-screens:
requires:
+ - prep-deps-npm
- prep-build
+ - job-announce:
+ requires:
- prep-deps-npm
+ - prep-build
+ - job-screens
- test-unit:
requires:
- prep-deps-npm
@@ -49,7 +54,7 @@ workflows:
- test-lint
- test-unit
- test-e2e
- - test-screens
+ - job-screens
- test-integration-mascara-chrome
- test-integration-mascara-firefox
- test-integration-flat-chrome
@@ -103,15 +108,7 @@ jobs:
key: build-cache-{{ .Revision }}
paths:
- dist
- - store_artifacts:
- path: dist/mascara
- destination: builds/mascara
- - store_artifacts:
- path: builds
- destination: builds
- - run:
- name: build:announce
- command: ./development/metamaskbot-build-announce.js
+ - builds
prep-scss:
docker:
@@ -159,7 +156,7 @@ jobs:
path: test-artifacts
destination: test-artifacts
- test-screens:
+ job-screens:
docker:
- image: circleci/node:8-browsers
steps:
@@ -171,9 +168,34 @@ jobs:
- run:
name: Test
command: npm run test:screens
+ - save_cache:
+ key: job-screens-{{ .Revision }}
+ paths:
+ - test-artifacts
+
+ job-announce:
+ docker:
+ - image: circleci/node:8-browsers
+ steps:
+ - checkout
+ - restore_cache:
+ key: dependency-cache-{{ checksum "package-lock.json" }}
+ - restore_cache:
+ key: build-cache-{{ .Revision }}
+ - restore_cache:
+ key: job-screens-{{ .Revision }}
+ - store_artifacts:
+ path: dist/mascara
+ destination: builds/mascara
+ - store_artifacts:
+ path: builds
+ destination: builds
- store_artifacts:
path: test-artifacts
destination: test-artifacts
+ - run:
+ name: build:announce
+ command: ./development/metamaskbot-build-announce.js
test-unit:
docker: