40 lines
750 B
YAML
40 lines
750 B
YAML
language: python
|
|
|
|
sudo: true
|
|
fast_finish: true
|
|
|
|
matrix:
|
|
include:
|
|
- python: 2.7
|
|
- python: 3.6
|
|
- python: 3.7
|
|
- python: 3.8
|
|
- python: 3.9
|
|
dist: xenial
|
|
sudo: true
|
|
|
|
install:
|
|
- pip install Cython
|
|
- pip install pytest>=4.6
|
|
- pip install pytest-cov
|
|
- pip install coveralls
|
|
- pip install -r requirements.txt
|
|
- pip install .
|
|
|
|
script:
|
|
- pytest --cov=yfinance/
|
|
|
|
after_success:
|
|
- coveralls
|
|
|
|
branches:
|
|
only:
|
|
- main
|
|
|
|
notifications:
|
|
slack: tradologics:HcnS6XusfcuS02waQPCG18oc
|
|
webhooks:
|
|
on_success: change # options: [always|never|change] default: always
|
|
on_failure: always # options: [always|never|change] default: always
|
|
on_start: never # options: [always|never|change] default: always
|