-
Notifications
You must be signed in to change notification settings - Fork 7
/
Copy path.travis.yml
30 lines (30 loc) · 2.02 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
language: python
python:
- '3.6'
before_install:
- if [[ -z $TRAVIS_TAG ]]; then sed -i "s/['\"]\([^\"]*\)['\"]/\"\1b$TRAVIS_BUILD_NUMBER\"/g"
aws_ir_plugins/_version.py; fi
install:
- pip install -r requirements-dev.txt
- pip install flake8
- python -W ignore::UserWarning:distutils.dist setup.py build
script:
- flake8 plugins
- python setup.py test
deploy:
- provider: pypi
distributions: sdist bdist_wheel
user: threatresponse
password:
secure: qYav6prhKwMUZX7ceFA0scfbDy/mobg1KQS3v507GqlYBhLX9y1LNy2j9tfDLPuEQFpirZ2wR2oIQOt6S1gnY8WGeoC242MlIIUCV+i0Rwi+zY7kEQxIeegkc37oqA0Xd3a+F9DlY0sVzS2PkScDj9CkQlAAUwfxvuZqIA6Eezaj325YTlmHOwc5WPsPW0CqrGpCz5Lu2B63Z+vvsH7/XVuO4K8qcTVaO+uosmY8tgVjwjNA/zsb8xvOsSfwgkphMVTPT94HjtgGLqWUqOkmcUh97dAEczf+0cRHNTJHd12kL2WlU1Zy5kP/GyqKpOwN57inOk408IFobGJKMCSdaKVBtsO+V4hs33IGuKHJdd0LwHyJqTwp7CTRwazxnK9InP7qrvMV1HhaupJrS5VtoOY4xw4MHzUpTM8kCaksZ3MSah/o7kIzTSPBR8Xh+ublPLaoTtTFXoH8d58GyLCU3JFvZdEXTi2ccdoKyQ6tI+J3Zi6Hig9xA/vQGij4aQNnPZiR7xOFKbUiunBhwcZ9EpwCSzw/ln/LmpAvQcsScIRaujzX2yJDWUI+91wR3EfYKGu3PrDIXu2ruICNyBY8wbJG7VOTxgzKVG4NunL/ylJWTs5f1lXh8bmomr7GOwNkjm0MjHV338UKukWlXrN+2M9ngBNK3+4TbWQbt6PqsiI=
on:
tags: true
- provider: pypi
server: https://test.pypi.org/legacy/
distributions: sdist bdist_wheel
user: threatresponse
password:
secure: hvKSisK/Tq/06padXVmrLsomPu7I1AehElxMtveq3IjtDEd01m7J9rXDEiYxzK5nAunMncz3oJL5OC4z/CSvW18KYLisRLbW0+WiNg1O/sQh69Y8fNnJo6NNb8mnrgpDlljqFcelFgTniCBjGY0HyucOsUes6DJWFM0rQrwXmH+Ys+/uInNKbgzN5pBjMzHNRp2Hu4HKO5PI0yxvWcbKZrw1jJNjMBaiAb55KZ7ckjpOaxVWYUpoRaIyUGZAMMUdYdXD87LwC3+H4puvbtiPY1jzzXmE/sPjd5fPuKs0PbG+n7gtiCUDhX/Rg7mjUsK0cvd4EAGlsDhDWU/agh8oPZGRF610or7krhv21ivHRMx/sH8JxW8eFftNiyJbQi1GtrXah/YHQHI2KYpDHbbphMFhXm3aNRKZfoewP9/gAFipTKk8sAJQn90uWYmYqaph/KapgxXXRwBTGF/trTekYoDk45Fh1pddIkHJluzPluqtX9ONL0EqP1bdWo8YPB5/0xQOIuC/8LgtMzGSIN/RTB5ORTA43My+ksDDxYJo3r4xSXXC4fx1B6tZb5lkKh3hMI/p1moWXG5viWMwViF0PxwBYCOwm2LLWI/R4iq9ST0ZJwXtsYZ/UK51QgBBOMJ713L70o97pLimtMlEAmyv8XCA1A33R9mhBd5zhi62v1A=
skip_cleanup: true
on:
all_branches: true