1
0
mirror of https://github.com/pdf2htmlEX/pdf2htmlEX.git synced 2024-12-22 13:00:08 +00:00

install selenium through pip in travis

This commit is contained in:
Lu Wang 2014-11-18 04:48:08 +08:00
parent 0261992c3d
commit f865a96a61

View File

@ -4,7 +4,8 @@ before_install:
- sudo add-apt-repository ppa:fontforge/fontforge --yes - sudo add-apt-repository ppa:fontforge/fontforge --yes
- sudo add-apt-repository ppa:coolwanglu/pdf2htmlex --yes - sudo add-apt-repository ppa:coolwanglu/pdf2htmlex --yes
- sudo apt-get update -qq - sudo apt-get update -qq
- sudo apt-get install -qq libpoppler-dev libpoppler-private-dev libspiro-dev libcairo-dev libpango1.0-dev libfreetype6-dev libltdl-dev libfontforge-dev python-imaging python-selenium ttfautohint firefox xvfb - sudo apt-get install -qq libpoppler-dev libpoppler-private-dev libspiro-dev libcairo-dev libpango1.0-dev libfreetype6-dev libltdl-dev libfontforge-dev python-imaging python-pip ttfautohint firefox xvfb
- sudo pip install selenium
- export DISPLAY=:99.0 - export DISPLAY=:99.0
- test/start_xvfb.sh - test/start_xvfb.sh
- sleep 5 - sleep 5