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