-
Notifications
You must be signed in to change notification settings - Fork 0
/
.travis.yml
55 lines (47 loc) · 1.36 KB
/
.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
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
dist: focal
language: python
services:
- docker
matrix:
include:
- python: 3.6
env: TOX_ENV=py36-remotechrome WEBSITE=true
name: "python 3.6 remote chrome"
- python: 3.6
env: TOX_ENV=py36-remotefirefox WEBSITE=true
name: "python 3.6 remote firefox"
- python: 3.7
env: TOX_ENV=py37-remotechrome WEBSITE=true
name: "python 3.7 remote chrome"
- python: 3.7
env: TOX_ENV=py37-remotefirefox WEBSITE=true
name: "python 3.7 remote firefox"
- python: 3.8
env: TOX_ENV=py38-remotechrome WEBSITE=true
name: "python 3.8 remote chrome"
- python: 3.8
env: TOX_ENV=py38-remotefirefox WEBSITE=true
name: "python 3.8 remote firefox"
- python: 3.9
env: TOX_ENV=py39-remotechrome WEBSITE=true
name: "python 3.9 remote chrome"
- python: 3.9
env: TOX_ENV=py39-remotefirefox WEBSITE=true
name: "python 3.9 remote firefox"
- python: 3.7
env: TOX_ENV=flake8 WEBSITE=false
name: "flake8 check (linting)"
- python: 3.7
env: TOX_ENV=black WEBSITE=false
name: "black check (code format)"
before_install:
- if [ "${WEBSITE}" == true ]; then
sh run_selenium_grid.sh;
fi
install:
- python -m pip install --upgrade pip
- pip install -r requirements-dev.txt
script:
- tox -e $TOX_ENV -- --website http://website/
after_success:
- codecov