-
Notifications
You must be signed in to change notification settings - Fork 0
/
.travis.yml
56 lines (50 loc) · 1.79 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
notifications:
slack: cuencafinance:Vb7c4Zn7YCpT0wGjOFDwYQUM
language: python
install: make install-test
cache: pip
script:
- make lint
- python setup.py test
jobs:
include:
- stage: test
python: 3.6
before_install:
- cp env.template .env
- export $(grep -v '^#' .env | xargs -0)
- stage: test
python: 3.7
dist: xenial
sudo: true
before_install:
- cp env.template .env
- export $(grep -v '^#' .env | xargs -0)
- stage: code coverage
python: 3.7
dist: xenial
sudo: true
before_install:
- cp env.template .env
- export $(grep -v '^#' .env | xargs -0)
install:
- make install-test
- pip install coveralls
script:
- export PYTHONPATH=`pwd`
- pytest
- coveralls
- stage: PyPI Upload
python: 3.7
dist: xenial
sudo: true
script: echo "Uploading packages to PyPI"
deploy:
provider: pypi
user: cuenca
password:
secure: "atFjApvSn93OdZE7+WYFdRsEcw4sMljSBELOSOV80EAgmo6OiWQmAYZdi7QDRPRiQXi4WaKcAWCQgoIsIOt9SXnW9w/crONRLpOwAuirduDzr7sqhaquATJwZLFUR26uyiz5pWR6Q/0QTyAV5ygxRrbZTuL1zT+4IMahOmd+sW+VF3+M6BeXgMZRW6DehXwb9Ush8XoZDOHYwjwDnKSZivRLj4FImmfhAUNBQH0voBuzGxIlefD9fPmQcG+ptQgdDLYKSpTZ6dcJbABqqpnsimA7tLO6qbF7QZ7BgCV3c+BeZTseO9x79jE6LjjjJmFahMY8t8M2qHQXbUDLWgFLPI9zcr0LaIwCLFn0QLjSK4M50YRoEJXUjj9u6hD6oOZxMOyu0zPwOppo6KuSAHc83ovDmtX0pQYkvv0z+3oIipCjxwN06GQPefKEfxcQxNCa6mxWalxdgAmHx6LjuQK5xR/3ofxDSWQvYno3KMDn/GStJwzg+uSsmgYQ1hf6PjKRZdocHtbpMBXAhlkOsLwxNcQHMkBTTYLk9AKjfzp+5x7Vaw7BlrQEbg/Cfo70bkE1R7aOERyN1LcU+kpozNY/mGL7mx8hXa5acyDp+0XY3WXjredycmraw0yovgRcqi+wsUg1/fOMzPJx4AoOTqgROZ88R8MRdzDE8wn5YNNvV8o="
on:
tags: true
skip_existing: true
distributions: sdist bdist_wheel