-
-
Notifications
You must be signed in to change notification settings - Fork 28
/
.travis.yml
53 lines (48 loc) · 2.29 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
language: python
cache:
pip: true
directories:
- $HOME/.cache/pre-commit
matrix:
fast_finish: true
include:
- python: 3.8
env: TOXENV=lint
- python: 3.8
- python: 3.7
- python: 3.6
- python: 3.9-dev
install:
- pip install -U pip
- pip install -U tox-travis
script:
- tox
after_success:
- |
if [ "$TOXENV" != "lint" ]; then
pip install -U codecov && codecov
fi
deploy:
- provider: pypi
server: https://test.pypi.org/legacy/
on:
tags: false
repo: hugovk/pypistats
branch: master
condition: $TOXENV = lint
user: __token__
password:
secure: "pG6CQh9N751gth+M0l2mdAJjlY/OMq4nYEgDwAgvtE+h4nPjGic34+ZG3jzxFQOtLgLEOeJq6AYg6Yytl/vCBBR1pUOYzqWdn0ekmJZQSsMPR7RRnjtzjXxrNiqtrtGPcr/51tCtMCZAEVPE/gApymED86bqZurcM2uWMSNlo3mVNSxU2UKVrvwuHvunQ1bzve76anTlIgGpAS+DbWgyGsP7zYErFTWmiJ5sVk0gIkpK3NTJyLgjv3vLGb3hx6oesiuT5o9NJ6A9pShLGtrUEgqDKWCdXgr6QxlLY6Zhvcs0mBEcfSJdV0aZi/AxSjIUr3AiqWHeyWn5OSUJfx+6+283Gp2CMFDRSvj1p3Ng3Tby8HN+JRyrMrtqFNZ0E3tKXYOeUF3pd27hLM596fbM+qAz37zsYqBjG18CeSBV8OrwEvF9M4Ot8A1ZPi+zfjU5nrPxhzm6VnInMI0ioMO/zUinIOtSkYSHRIohww5mm2yIE2xRAO/64H0papbrK1xz+xMrmzLkJMY0DwrgZQhMK2/vYHhVa0wytjop42tQ17EkWfHE8waXLD0MQFEB+H3TMGBnsqf+jrcKpfwnhVye3KwFnU/2geuPB1dI6ohf7ucy3b/oNLe4fB9Pf8DQK/noGLmNBXQ2lrtTD0pblRLzsRc8LSyVLXu0fZIWUovubLU="
distributions: sdist --format=gztar bdist_wheel
skip_existing: true
- provider: pypi
on:
tags: true
repo: hugovk/pypistats
branch: master
condition: $TOXENV = lint
user: __token__
password:
secure: "dNoI5yPvDksuDxh7go1sZhmpA94zrsNDYHA4nTj+HMgUx7ITZbeRkIna0QWMms29mI4j7JlywuopSE78cKkjG2aZjSGhT4h5AmrRmWFhJDV7Qj4wghevPHNRRkQkUK3+ciFRDkkBb0J6dxgylmtz0OGTxWePyCfFoO9gmQycrSkcwUi2S89aS701xFYFOQQVcAMud3J9GCM4qLURmD2PO6DFIUNTI2AjPgxlZqVh9zAkwmE3huwIdZNBwJ7Rz6pXxSvkZ0gLFD7324Nox2cJ24J2sXSyfTUDqV/FkvOXDqD8vFI/iDLplwwB8uWQgPCw3xX6Lu+SVY9E/ClhIfkPMvDBQwIwRRxtx16W27mqjOIw/vTloMym4KunEcsZIvNbFZcg9S5zUcCIoMblDLl0FbSlpuyEua1LlpxWrQ2+QR6clVdwY4kH/tjcDKyKxQQkaSOWLLsv5uYpRebsgRuXcCbnNi69Go2bYQpJrWSKRztgLn9uCWEivlsqN8DD3m1DD+/pdn7v79gH32W2lYwZ8vovOLMJZYZ9zg3k/0wLyRfarihd9TYrvPMAnXcut93BLBKq5aNXDsgsaswGZLEFDb+VVzwjucReEE8msUyYQvOl3qBVeKwoDaSK2LeuJHz45gUoODQeFI9l1UpI7ZZYbeQqdVzYp5WCRb6FUU1yq14="
distributions: sdist --format=gztar bdist_wheel
skip_existing: true