1
0
mirror of https://github.com/kremalicious/metamask-extension.git synced 2024-12-23 01:39:44 +01:00

ci - install firefox58 and cache

This commit is contained in:
kumavis 2018-03-09 14:58:02 -08:00
parent 702d09b557
commit 6093d46ba1

View File

@ -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:
@ -88,6 +100,8 @@ jobs:
- image: circleci/node:8-browsers
steps:
- checkout
- restore_cache:
key: dependency-cache-firefox
- restore_cache:
key: dependency-cache-{{ checksum "package-lock.json" }}
- run:
@ -105,6 +119,8 @@ jobs:
- image: circleci/node:8-browsers
steps:
- checkout
- restore_cache:
key: dependency-cache-firefox
- restore_cache:
key: dependency-cache-{{ checksum "package-lock.json" }}
- run: