-
Notifications
You must be signed in to change notification settings - Fork 48
/
Copy path.travis.yml
51 lines (42 loc) · 835 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
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
sudo: false
dist: xenial
language: python
cache: pip
addons:
apt:
packages:
- pandoc
python:
- 3.6
- 3.7
- pypy3
before_install:
- pip install -r ci/requirements.txt
install:
- pip install .
script:
- python -m coverage run --source=pronto -m unittest discover -v
- python -O -m coverage run --source=pronto -m unittest discover -v
- coverage xml --include "pronto/*"
after_success:
- codecov
- python-codacy-coverage -r coverage.xml
before_deploy:
- python setup.py sdist bdist_wheel
- twine check dist/*
deploy:
- provider: script
script: twine upload --skip-existing dist/*
skip_cleanup: true
on:
python: "3.7"
tags: true
repo: althonos/pronto
- provider: script
script: ci/travis/chandler.sh
on:
python: "3.7"
repo: althonos/pronto
notifications:
email:
- althonosdev@gmail.com