forked from utestpy/python-page-object
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy path.travis.yml
29 lines (29 loc) · 818 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
language: python
python:
- "3.6"
- "3.7"
- "3.8"
- "3.9"
addons:
apt:
update: true
before_install:
# Install dependencies
- sudo apt-get install -y chromium-browser
# Install ChromeDriver (64bits; replace 64 with 32 for 32bits).
- wget -N http://chromedriver.storage.googleapis.com/78.0.3904.105/chromedriver_linux64.zip -P ~/
- unzip ~/chromedriver_linux64.zip -d ~/
- rm ~/chromedriver_linux64.zip
- sudo mv -f ~/chromedriver /usr/local/share/
- sudo chmod +x /usr/local/share/chromedriver
- sudo ln -s /usr/local/share/chromedriver /usr/local/bin/chromedriver
install:
- pip install --no-cache-dir --upgrade pip
- pip install -r requirements.txt
- pip install -r requirements-dev.txt
script:
- ./run-code-analysis.sh
after_success:
- coveralls
notifications:
email: false