-
Notifications
You must be signed in to change notification settings - Fork 4
/
Copy path.travis.yml
29 lines (29 loc) · 1.32 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
language: python
python:
- '3.6'
install:
- pip install tabulate # dependency.
- pip install codecov # code coverage.
- pip install flake8
before_script:
flake8 .
script:
# testing + coverage.
- coverage run recent2_test.py
# Basic e2e tests.
- bash scripts/install_test.sh
# Push coverage results codecov
after_success:
- codecov
deploy:
provider: pypi
user: __token__
# Distribute only wheel. No sdist
distributions: "bdist_wheel"
password:
secure: j2C/JN/4CW6zVX5A30g7XwRiXQ+xShlHsZuAaKfObsJWUNsA6M72XBvfqNRgPtCLVkcSmWPj12gwjsI4FY0u6Y7WLi16LlU80PysUYs6HsdXHXmZ78N46eZpIr3Ikj2XYgWleMaA+dSeGoWdtpMxafu/NBsMlf2ZELMlb45Yo2w9Y8rFF5/0vMHsFjG6kvzsoT7lAwb3U0u2uGrLDdyQSY/MVo6G/mOzra6uEK8F4ed49thJWDQa2/TNKln4CreYCphiy9UtJ7/irqamxHifJGYBuCu7hTrZJ4Ff5rfT0I5NAa4uaTGsFIxM4JN1HTiHcJfKuaLWiCGgs0i53qsxy5IKvZ70qQ+T9yWcGVbD5Qwc3V+di8jEpz4Nqj+HzzuK26vXSa9grxhIq0/ybGK9kOX+xgSHOg7/fl4gcqTTfTExUxPtELDFb112BWuTjpdTvTDnXYRhqcv+9KIXdibWicbazI4FyAu+l5v3OjcWBMxcYBXzHCgtsvmeNC+mcTC3OxkIONmh3oQ56IlexE8OHxuQdn3DY23lvB44K1oRmkthBAUpJ5MX5HQCskBeXFN2uLazuxPzMMtNO7IuKhYFq0M3BpzwrW1Z7Q8zYC7aifyrnjkMQuHUmwCJr5ldkXp9OVCdgF+LMd1QOJkEzIuZYwmRvZkDv7i0xlMIFsj/21k=
on:
condition: "$TRAVIS_TAG =~ [0-9]+[.][0-9]+[.][0-9] && $TRAVIS_TAG == `cat version.txt`
&& $TRAVIS_TAG == $TRAVIS_BRANCH"
repo: dotslash/recent2
all_branches: true