aboutsummaryrefslogtreecommitdiffstats
path: root/.circleci/config.yml
diff options
context:
space:
mode:
authorThomas <thomas.b.huang@gmail.com>2018-05-02 03:18:22 +0800
committerThomas <thomas.b.huang@gmail.com>2018-05-02 03:18:22 +0800
commit9dfe4f410da8197cb6dfdc312ab04fe585e59fb6 (patch)
tree68716443b5d934fe0546b16e8810c116e51ab451 /.circleci/config.yml
parentac334d7b1a9cd8b6888f5c4f3309740d5df62474 (diff)
downloadtangerine-wallet-browser-9dfe4f410da8197cb6dfdc312ab04fe585e59fb6.tar
tangerine-wallet-browser-9dfe4f410da8197cb6dfdc312ab04fe585e59fb6.tar.gz
tangerine-wallet-browser-9dfe4f410da8197cb6dfdc312ab04fe585e59fb6.tar.bz2
tangerine-wallet-browser-9dfe4f410da8197cb6dfdc312ab04fe585e59fb6.tar.lz
tangerine-wallet-browser-9dfe4f410da8197cb6dfdc312ab04fe585e59fb6.tar.xz
tangerine-wallet-browser-9dfe4f410da8197cb6dfdc312ab04fe585e59fb6.tar.zst
tangerine-wallet-browser-9dfe4f410da8197cb6dfdc312ab04fe585e59fb6.zip
Firefox
Diffstat (limited to '.circleci/config.yml')
-rw-r--r--.circleci/config.yml46
1 files changed, 42 insertions, 4 deletions
diff --git a/.circleci/config.yml b/.circleci/config.yml
index 6ed731225..fd017ed67 100644
--- a/.circleci/config.yml
+++ b/.circleci/config.yml
@@ -15,10 +15,15 @@ workflows:
- test-lint:
requires:
- prep-deps-npm
- - test-e2e:
+ - test-e2e-chrome:
requires:
- prep-deps-npm
- prep-build
+ - test-e2e-firefox:
+ requires:
+ - prep-deps-npm
+ - prep-deps-firefox
+ - prep-build
- test-unit:
requires:
- prep-deps-npm
@@ -44,7 +49,8 @@ workflows:
requires:
- test-lint
- test-unit
- - test-e2e
+ - test-e2e-chrome
+ - test-e2e-firefox
- test-integration-mascara-chrome
- test-integration-mascara-firefox
- test-integration-flat-chrome
@@ -145,7 +151,7 @@ jobs:
name: Test
command: npm run lint
- test-e2e:
+ test-e2e-chrome:
docker:
- image: circleci/node:8-browsers
steps:
@@ -156,7 +162,38 @@ jobs:
key: build-cache-{{ .Revision }}
- run:
name: Test
- command: npm run test:e2e
+ command: npm run test:e2e:chrome
+ - store_artifacts:
+ path: test-artifacts
+ destination: test-artifacts
+
+ test-e2e-firefox:
+ environment:
+ browsers: '["Firefox"]'
+ docker:
+ - image: circleci/node:8-browsers
+ steps:
+ - checkout
+ - restore_cache:
+ key: dependency-cache-firefox-{{ .Revision }}
+ - run:
+ name: Install firefox
+ command: >
+ sudo rm -r /opt/firefox
+ && sudo mv firefox /opt/firefox58
+ && sudo mv /usr/bin/firefox /usr/bin/firefox-old
+ && sudo ln -s /opt/firefox58/firefox /usr/bin/firefox
+ - restore_cache:
+ key: dependency-cache-{{ .Revision }}
+ - run:
+ name: Get Scss Cache key
+ # this allows us to checksum against a whole directory
+ command: find ui/app/css -type f -exec md5sum {} \; | sort -k 2 > scss_checksum
+ - restore_cache:
+ key: scss-cache-{{ checksum "scss_checksum" }}
+ - run:
+ name: test:e2e:firefox
+ command: npm run test:e2e:firefox
- store_artifacts:
path: test-artifacts
destination: test-artifacts
@@ -320,3 +357,4 @@ jobs:
- run:
name: All Tests Passed
command: echo 'weew - everything passed!'
+ \ No newline at end of file