-
Notifications
You must be signed in to change notification settings - Fork 12
/
Copy path.travis.yml
35 lines (34 loc) · 1.46 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
language: python
env:
# 3.8.4 is shipped with Debian Bullseye
- FLAKE8_VERSION='3.8.*'
- FLAKE8_VERSION='4.*'
- FLAKE8_VERSION='5.*'
- FLAKE8_VERSION='6.*'
python:
- '3.9'
install:
- >
pip install
flake8==${FLAKE8_VERSION}
flake8-bugbear
flake8-import-order
flake8-logging-format
flake8-simplify
# Install flake8-bandit when not running 3.x or 4.x
- if ! flake8 --version | grep -E '^[34]\.[0-9]+\.[0-9]+ \('; then pip install flake8-bandit; fi
script:
- flake8 flake8_gl_codeclimate scripts tests
- pip install .
- python -m unittest discover -s ./tests -v
jobs:
include:
- stage: deploy
script: echo "Deploying to pypi..."
deploy:
provider: pypi
user: awelzel
on:
tags: true
password:
secure: wE7XH0vbGHC2TzmyWv+CrLna5b+yixliwNLwjCCo2HUgVJdFqvdP3c+t1AeRHaaE+tcXoChMnG5eQfBg0WbsSh0hyGNyTBvDzrj36nBIFkvrvHpSah1ZTtFxBTbX8OI7BVmfepRYkxGcfOZrprFRFShBgVv3sqB9JvVOYfFaEVrZXmoPHBVk+7Wr5AksJTRzIRrGj2OuXOit9mmzumUBF8JAqtHvheEfmA4uJWPWP3VKEwNcnYV0isZBgTGE3K8ycaMWVd5no/EkIrbJqW+ZcnlGNGYfclBKVbFcxkx9Gz5Ho38mH9Cz1JEHcmP71vDKvm++Y7lcrQ+2pJWOk6fwtgdAxqcSioa2Rp2t/VCerO0sjO3Bn2M4HBCVxSqbasRmQnoiSGrNx0O0TZrA/jS+zomv/+HuBY70OZZygNGXQ/nsDiU/+30ZCKl+XunRJQiGYYyQksTJq4BvzWnvc3OChhhTEZzyZW1OecsXplfrxXamLC2VEHXm18lHBhssWFeSq7rocz1mFZVCNo8GcB50WeBQwKD+isllqSOaJTCahjkgHMcammyneuNQ/qP/NkJ6v+ve6S1UW0PSGW8MfLAxGLf+FQ3E2f+qZSp1q2cy0G1SddT3OX7WAg4KOfnGcuN5s3jWM5z1zsd71n8f4w7b3nMPDGeLJYxb0yw2F1C0IZE=