File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change 1+ #! /bin/bash
2+
3+ # Holy shit batman!
4+ # https://github.com/travis-ci/travis-ci/issues/938
5+ # https://github.com/travis-ci/travis-ci/issues/2555
6+
7+ sudo apt-get install -y python-software-properties
8+ sudo apt-add-repository " deb http://dl.google.com/linux/chrome/deb/ stable main"
9+ sudo sed -i s/deb-src.* google.* //g /etc/apt/sources.list
10+ wget -O - https://dl-ssl.google.com/linux/linux_signing_key.pub | sudo apt-key add -
11+ sudo apt-get update -qq
12+ sudo apt-get install -y google-chrome-stable
13+
14+ sudo chmod 1777 /dev/shm
Original file line number Diff line number Diff line change 22# Use of this source code is governed by a BSD-style
33# license that can be found in the LICENSE file.
44
5- sudo : false
5+ sudo : required
6+ before_install :
7+ - export DISPLAY=:99.0
8+ - sh -e /etc/init.d/xvfb start
9+ - ./.travis.chrome.sh
610cache : pip
711addons :
812 firefox : " latest"
9- apt :
10- sources :
11- - google-chrome
12- packages :
13- - google-chrome-stable
1413language : python
1514python :
1615 - " 2.7"
@@ -36,7 +35,6 @@ matrix:
3635 - python : 3.5
3736 env : DRIVER=tests/test_zopetestbrowser.py
3837install :
39- - export DISPLAY=:99.0
4038 - export PATH=$HOME:$PATH
4139 - ./travis-install.bash
4240 - make dependencies
You can’t perform that action at this time.
0 commit comments