forked from hristo-mavrodiev/yahoostats
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy path.travis.yml
56 lines (47 loc) · 1.01 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
56
sudo: required
language: python
python:
- 3.6
- 3.7
- 3.8
addons:
firefox: "62.0.2"
chrome: stable
apt:
packages:
- chromium-chromedriver
before_install:
# - sudo apt-get update
# - sudo apt-get -y install firefox wget
- wget https://github.com/mozilla/geckodriver/releases/download/v0.26.0/geckodriver-v0.26.0-linux64.tar.gz
- tar -xvzf geckodriver-v0.26.0-linux64.tar.gz
- sudo cp geckodriver /usr/local/bin/
- sudo chmod a+x /usr/local/bin/geckodriver
# - sudo apt-get -y install chromium-driver
- python --version
- pip install -U pip
# - pip install -U pytest
- pip install nose
- pip install codecov
install:
- pip install -r requirements.txt
- pip install .
script:
- nosetests --with-coverage -v
after_success:
- bash <(curl -s https://codecov.io/bash)
# - coveralls
branches:
only:
- master
- develop
notifications:
email: false
# deploy:
# provider: pypi
# user: __token__
# password:
# secure: TBA
# on:
# tags: true
# branch: master