21 lines
439 B
YAML
21 lines
439 B
YAML
language: python
|
|
sudo: false
|
|
python:
|
|
- "2.7"
|
|
install:
|
|
- "pip install --upgrade pip"
|
|
- "pip install -r requirements.txt"
|
|
- "python setup.py install"
|
|
before_script:
|
|
- "flake8 seleniumbase/*/*.py"
|
|
- "export DISPLAY=:99.0"
|
|
- "sh -e /etc/init.d/xvfb start"
|
|
script:
|
|
- "firefox --version"
|
|
- "nosetests examples/my_first_test.py --with-selenium --browser=firefox"
|
|
env:
|
|
matrix:
|
|
- BROWSER=firefox
|
|
notifications:
|
|
email: false
|