-
Notifications
You must be signed in to change notification settings - Fork 0
/
.travis.yml
22 lines (21 loc) · 1.27 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
dist: bionic
language: generic
# command to install dependencies
install:
- sudo add-apt-repository "deb http://archive.ubuntu.com/ubuntu/ bionic restricted"
- sudo add-apt-repository "deb http://archive.ubuntu.com/ubuntu/ bionic multiverse"
- sudo add-apt-repository "deb http://archive.ubuntu.com/ubuntu/ bionic universe"
- sudo add-apt-repository "deb http://archive.ubuntu.com/ubuntu/ bionic-updates main restricted"
- sudo add-apt-repository "deb http://archive.ubuntu.com/ubuntu/ bionic-updates universe"
- sudo add-apt-repository "deb http://archive.ubuntu.com/ubuntu/ bionic-updates multiverse"
- sudo add-apt-repository "deb http://archive.ubuntu.com/ubuntu/ bionic-security main restricted"
- sudo add-apt-repository "deb http://archive.ubuntu.com/ubuntu/ bionic-security multiverse"
- sudo add-apt-repository "deb http://archive.ubuntu.com/ubuntu/ bionic-security universe"
- sudo add-apt-repository "deb http://archive.ubuntu.com/ubuntu/ bionic-backports main restricted universe multiverse"
- sudo apt-get update
- sudo apt-get -y upgrade
- sudo apt-get install -y git python3 python3-pip python3-selenium firefox firefoxdriver python3-opencv xvfb python3-pycodestyle
# command to run tests
script:
#- pytest tests
- pycodestyle --ignore=E402 *.py