forked from pytest-dev/pytest-splinter
-
Notifications
You must be signed in to change notification settings - Fork 0
/
.travis.yml
38 lines (38 loc) · 885 Bytes
/
.travis.yml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
sudo: false
language: python
python: "3.8"
addons:
firefox: "60.0.2"
services:
- xvfb
before_install:
- "export DISPLAY=:99.0"
- wget https://github.com/mozilla/geckodriver/releases/download/v0.21.0/geckodriver-v0.21.0-linux64.tar.gz
- mkdir geckodriver
- tar -xzf geckodriver-v0.21.0-linux64.tar.gz -C geckodriver
- export PATH=$PATH:$PWD/geckodriver
- "npm install -g selenium-standalone@6.15.2"
- "selenium-standalone install"
- "selenium-standalone start &"
dist: xenial
matrix:
include:
- python: 3.8
env: TESTENV=linters
- python: 3.8
env: TESTENV=coveralls
- python: 3.8
env: TESTENV=py38-pytest-latest
- python: 3.8
env: TESTENV=py38
- python: 3.8
env: TESTENV=py38-xdist
install:
- pip install tox
script: tox -e $TESTENV
branches:
except:
- /^\d/
notifications:
email:
- bubenkoff@gmail.com