aboutsummaryrefslogtreecommitdiffstats
path: root/.circleci
diff options
context:
space:
mode:
authorkumavis <aaron@kumavis.me>2018-03-10 06:58:02 +0800
committerkumavis <aaron@kumavis.me>2018-03-10 06:58:02 +0800
commit6093d46ba11335f6f71c912f2a70f07f6423181a (patch)
treeb232585f6e9dcdbee4941da07f11c7be5e7c3300 /.circleci
parent702d09b557952406bb66d0d8bd8e39f3db0d1079 (diff)
downloadtangerine-wallet-browser-6093d46ba11335f6f71c912f2a70f07f6423181a.tar.gz
tangerine-wallet-browser-6093d46ba11335f6f71c912f2a70f07f6423181a.tar.zst
tangerine-wallet-browser-6093d46ba11335f6f71c912f2a70f07f6423181a.zip
ci - install firefox58 and cache
Diffstat (limited to '.circleci')
-rw-r--r--.circleci/config.yml18
1 files changed, 17 insertions, 1 deletions
diff --git a/.circleci/config.yml b/.circleci/config.yml
index a49a6ccb2..24e9a57b0 100644
--- a/.circleci/config.yml
+++ b/.circleci/config.yml
@@ -40,7 +40,19 @@ jobs:
- node_modules
- run:
name: Install Firefox
- command: sudo apt-get install firefox; firefox_cmd=`which firefox`; sudo rm -f $firefox_cmd; sudo ln -s `which firefox.ubuntu` $firefox_cmd
+ command: >
+ wget https://ftp.mozilla.org/pub/firefox/releases/58.0/linux-x86_64/en-US/firefox-58.0.tar.bz2
+ && tar xjf firefox-58.0.tar.bz2
+ && 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
+ - save_cache:
+ key: dependency-cache-firefox
+ paths:
+ - /opt/
+ - /usr/bin
+
prep-scss:
docker:
@@ -89,6 +101,8 @@ jobs:
steps:
- checkout
- restore_cache:
+ key: dependency-cache-firefox
+ - restore_cache:
key: dependency-cache-{{ checksum "package-lock.json" }}
- run:
name: Get Scss Cache key
@@ -106,6 +120,8 @@ jobs:
steps:
- checkout
- restore_cache:
+ key: dependency-cache-firefox
+ - restore_cache:
key: dependency-cache-{{ checksum "package-lock.json" }}
- run:
name: Get Scss Cache key