25 lines
635 B
YAML
25 lines
635 B
YAML
language: python
|
|
sudo: false
|
|
python:
|
|
- "2.7"
|
|
install:
|
|
- "pip install --upgrade pip"
|
|
- "pip install -r server_requirements.txt"
|
|
- "python server_setup.py install"
|
|
before_script:
|
|
- "flake8 seleniumbase/*.py"
|
|
- "flake8 seleniumbase/*/*.py"
|
|
- "flake8 seleniumbase/*/*/*.py"
|
|
- "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 -s"
|
|
- "pytest examples/my_first_test.py --with-selenium --browser=firefox -s"
|
|
env:
|
|
matrix:
|
|
- BROWSER=firefox
|
|
notifications:
|
|
email: false
|