Update travis.yml
This commit is contained in:
parent
6bcf50471c
commit
5cc754ad49
11
.travis.yml
11
.travis.yml
|
@ -1,5 +1,4 @@
|
|||
language: python
|
||||
sudo: false
|
||||
python:
|
||||
- "2.7"
|
||||
install:
|
||||
|
@ -8,16 +7,14 @@ install:
|
|||
- "python setup.py install"
|
||||
sudo: required
|
||||
before_script:
|
||||
- "sudo apt-get update -qq"
|
||||
- "flake8 seleniumbase/*/*.py"
|
||||
- "export DISPLAY=:99.0"
|
||||
- "sh -e /etc/init.d/xvfb start"
|
||||
script:
|
||||
- "echo $PATH"
|
||||
- "wget https://chromedriver.storage.googleapis.com/2.28/chromedriver_linux32.zip"
|
||||
- "unzip chromedriver_linux32.zip"
|
||||
- "sudo chmod +x chromedriver"
|
||||
- "sudo mv chromedriver /usr/bin/chromedriver"
|
||||
- "wget -q -O - https://dl-ssl.google.com/linux/linux_signing_key.pub | sudo apt-key add -"
|
||||
- sudo sh -c 'echo "deb http://dl.google.com/linux/chrome/deb/ stable main" >> /etc/apt/sources.list.d/google.list'
|
||||
- sudo apt-get update
|
||||
- sudo apt-get install google-chrome-stable
|
||||
- "nosetests examples/my_first_test.py --with-selenium --browser=chrome"
|
||||
env:
|
||||
matrix:
|
||||
|
|
Loading…
Reference in New Issue