File tree Expand file tree Collapse file tree 1 file changed +4
-2
lines changed Expand file tree Collapse file tree 1 file changed +4
-2
lines changed Original file line number Diff line number Diff line change @@ -47,21 +47,23 @@ script:
47
47
fi
48
48
- |
49
49
if [[ $TOXENV == *"firefox"* ]]; then
50
- sudo apt-get -y purge firefox
51
50
pip install --user mozdownload mozinstall
52
51
mozdownload --version 47.0.1 --destination firefox.tar.bz2
53
52
mozinstall firefox.tar.bz2
53
+ sudo ln -sf $PWD/firefox/firefox /usr/local/bin/firefox
54
+ firefox --version
54
55
fi
55
56
- |
56
57
if [[ $TARGET == *"firefox"* ]] || [[ $TOXENV == *"marionette"* ]]; then
57
58
export GECKODRIVER_VERSION=v0.10.0
58
59
curl -L -o geckodriver.tar.gz https://github.com/mozilla/geckodriver/releases/download/${GECKODRIVER_VERSION}/geckodriver-${GECKODRIVER_VERSION}-linux64.tar.gz
59
60
gunzip -c geckodriver.tar.gz | tar xopf -
60
61
chmod +x geckodriver && sudo mv geckodriver /usr/local/bin
61
- sudo apt-get -y purge firefox
62
62
pip install --user mozdownload mozinstall
63
63
mozdownload --version latest --destination firefox.tar.bz2
64
64
mozinstall firefox.tar.bz2
65
+ sudo ln -sf $PWD/firefox/firefox /usr/local/bin/firefox
66
+ firefox --version
65
67
fi
66
68
- |
67
69
if [[ $TARGET+$TOXENV == *"phantomjs"* ]]; then
You can’t perform that action at this time.
0 commit comments