-
Notifications
You must be signed in to change notification settings - Fork 1
/
.travis.yml
39 lines (32 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
env:
global:
language: python
dist: xenial
python:
- "3.5"
- "3.6"
- "3.7"
# Pypy version:
- "pypy3.5"
before_script:
# command to install dependencies
install:
- pip install -r requirements-build.txt # install build requirements
- pip install -r requirements.txt # install requirements
- python setup.py install # install isbg package
- pip install coverage
- pip install codecov # for codecov
- pip install pytest-cov # for codecov usage
- pip install codacy-coverage # for codacy coverage
# command to run tests
script:
- make docs
- python setup.py bdist # create binary distribution
- python setup.py sdist # create source distribution
- pytest --cov-append --cov=isbg tests/ # for codecov usage
after_script:
- coverage xml # for codeclimate
- python-codacy-coverage -r coverage.xml # for cadacy
- codecov # codecov.io suport
after_success:
- isbg --version # show isbg version