-
Notifications
You must be signed in to change notification settings - Fork 4
/
.travis.yml
45 lines (39 loc) · 1.05 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
# Config file for automatic testing at travis-ci.org
language: python
python:
- 3.7
- 3.6
# Command to install dependencies, e.g. pip install -r requirements.txt --use-mirrors
install:
- pip install -U tox-travis
- pip install coverage
# Command to run tests, e.g. python setup.py test
script:
- tox
- coverage run --source ritpytrading setup.py test
- coverage report -m
### alternative instructions for testing
# install:
# - pip install -r requirements.txt
# script:
# python -m unittest
# before_install:
# - pip install codecov
# - pip install coverage
# after_success:
# - codecov
### code for deploying to pyup
# Assuming you have installed the travis-ci CLI tool, after you
# create the Github repo and add it to Travis, run the
# following command to finish PyPI deployment setup:
# $ travis encrypt --add deploy.password
# deploy:
# provider: pypi
# distributions: sdist bdist_wheel
# user: SamSamhuns
# password:
# secure: PLEASE_REPLACE_ME
# on:
# tags: true
# repo: SamSamhuns/ritpytrading
# python: 3.6