aboutsummaryrefslogtreecommitdiffstats
path: root/.circleci/config.yml
diff options
context:
space:
mode:
Diffstat (limited to '.circleci/config.yml')
-rw-r--r--.circleci/config.yml28
1 files changed, 5 insertions, 23 deletions
diff --git a/.circleci/config.yml b/.circleci/config.yml
index bff04e5e0..bc40c9a7c 100644
--- a/.circleci/config.yml
+++ b/.circleci/config.yml
@@ -121,9 +121,7 @@ jobs:
- checkout
- run:
name: Download Firefox
- 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
+ command: ./.circleci/scripts/firefox-download.sh
- save_cache:
key: dependency-cache-firefox-{{ .Revision }}
paths:
@@ -229,11 +227,7 @@ jobs:
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
+ command: ./.circleci/scripts/firefox-install.sh
- restore_cache:
key: dependency-cache-{{ .Revision }}
- restore_cache:
@@ -270,11 +264,7 @@ jobs:
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
+ command: ./.circleci/scripts/firefox-install.sh
- restore_cache:
key: dependency-cache-{{ .Revision }}
- restore_cache:
@@ -375,11 +365,7 @@ jobs:
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
+ command: ./.circleci/scripts/firefox-install.sh
- restore_cache:
key: dependency-cache-{{ .Revision }}
- run:
@@ -422,11 +408,7 @@ jobs:
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
+ command: ./.circleci/scripts/firefox-install.sh
- restore_cache:
key: dependency-cache-{{ .Revision }}
- run: