-
-
Notifications
You must be signed in to change notification settings - Fork 13
/
.travis.yml
33 lines (28 loc) · 832 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
# Config file for automatic testing at travis-ci.org
sudo: required
language: python
python:
- 3.6
- 3.5
- 3.4
- 2.7
dist: trusty
addons:
chrome: stable
env:
global:
- CHROMEDRIVER=78.0.3904.70
- ARE_ON_TRAVIS=1
before_install:
- wget -O /tmp/chromedriver.zip https://chromedriver.storage.googleapis.com/$CHROMEDRIVER/chromedriver_linux64.zip
- mkdir $HOME/chromedriver && unzip /tmp/chromedriver.zip -d $HOME/chromedriver
- export PATH=$HOME/chromedriver:$PATH
- google-chrome-stable --headless --disable-gpu --remote-debugging-port=9222 http://localhost &
# Command to install dependencies, e.g. pip install -r requirements.txt --use-mirrors
install:
- pip install -U codecov
- pip install -U tox-travis
# Command to run tests, e.g. python setup.py test
script: tox
after_success:
- codecov