Skip to content

Commit 7f9239b

Browse files
committed
Actually use the versions of Firefox installed in Travis CI
1 parent 9334e41 commit 7f9239b

File tree

1 file changed

+4
-2
lines changed

1 file changed

+4
-2
lines changed

.travis.yml

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -47,21 +47,23 @@ script:
4747
fi
4848
- |
4949
if [[ $TOXENV == *"firefox"* ]]; then
50-
sudo apt-get -y purge firefox
5150
pip install --user mozdownload mozinstall
5251
mozdownload --version 47.0.1 --destination firefox.tar.bz2
5352
mozinstall firefox.tar.bz2
53+
sudo ln -sf $PWD/firefox/firefox /usr/local/bin/firefox
54+
firefox --version
5455
fi
5556
- |
5657
if [[ $TARGET == *"firefox"* ]] || [[ $TOXENV == *"marionette"* ]]; then
5758
export GECKODRIVER_VERSION=v0.10.0
5859
curl -L -o geckodriver.tar.gz https://github.com/mozilla/geckodriver/releases/download/${GECKODRIVER_VERSION}/geckodriver-${GECKODRIVER_VERSION}-linux64.tar.gz
5960
gunzip -c geckodriver.tar.gz | tar xopf -
6061
chmod +x geckodriver && sudo mv geckodriver /usr/local/bin
61-
sudo apt-get -y purge firefox
6262
pip install --user mozdownload mozinstall
6363
mozdownload --version latest --destination firefox.tar.bz2
6464
mozinstall firefox.tar.bz2
65+
sudo ln -sf $PWD/firefox/firefox /usr/local/bin/firefox
66+
firefox --version
6567
fi
6668
- |
6769
if [[ $TARGET+$TOXENV == *"phantomjs"* ]]; then

0 commit comments

Comments
 (0)