Fix Bug 1507306 - Unit tests running on Firefox 54 (#4569)
This commit is contained in:
Родитель
666c4a26b5
Коммит
410f6ce26a
|
@ -22,10 +22,6 @@ install:
|
|||
- npm config set spin false
|
||||
- npm install
|
||||
|
||||
before_script:
|
||||
- bash bin/download-firefox-travis.sh release-linux64-add-on-devel
|
||||
- export FIREFOX_BIN=./firefox/firefox
|
||||
|
||||
script:
|
||||
- npm test
|
||||
|
||||
|
|
|
@ -1,12 +0,0 @@
|
|||
#!/bin/bash
|
||||
# Copied and slightly modified from https://github.com/lidel/ipfs-firefox-addon/commit/d656832eec807ebae59543982dde96932ce5bb7c
|
||||
# Licensed under Creative Commons - CC0 1.0 Universal - https://github.com/lidel/ipfs-firefox-addon/blob/master/LICENSE
|
||||
BUILD_TYPE=${1:-$FIREFOX_RELEASE}
|
||||
echo "Looking up latest URL for $BUILD_TYPE"
|
||||
BUILD_ROOT="/pub/firefox/tinderbox-builds/mozilla-${BUILD_TYPE}/"
|
||||
ROOT="https://archive.mozilla.org"
|
||||
LATEST=$(curl -s "$ROOT$BUILD_ROOT" | grep $BUILD_TYPE | grep -Po '<a href=".+">\K[[:digit:]]+' | sort -n | tail -1)
|
||||
echo "Latest build located at $ROOT$BUILD_ROOT$LATEST"
|
||||
FILE=$(curl -s "$ROOT$BUILD_ROOT$LATEST/" | grep '.tar.' | grep -Po '<a href="\K[^"]*')
|
||||
echo "URL: $ROOT$FILE"
|
||||
wget -O "firefox-${BUILD_TYPE}.tar.bz2" "$ROOT$FILE" && tar xf "firefox-${BUILD_TYPE}.tar.bz2"
|
Загрузка…
Ссылка в новой задаче