forked from TransbankDevelopers/transbank-sdk-python
-
Notifications
You must be signed in to change notification settings - Fork 0
/
.travis.yml
37 lines (35 loc) · 2.24 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
language: python
python:
- '3.5'
- '3.6'
- '3.7'
install:
- pip install pipenv --upgrade
- pipenv install --dev --skip-lock
script:
- pipenv run tests
jobs:
include:
- python: '3.7'
dist: xenial
sudo: true
- stage: sonarcloud
if: tag IS NOT present AND branch = master
addons:
sonarcloud:
organization: transbankdevelopers
token:
secure: NJwpmGuauUP+OLnpbN9nmDqmSXdo/84q8/CdL9UFsFSjVabd8rqE8Q6e8lrpZHV10kf2Gft13ACCuNnJq9aJcmS9d4A/ir4zZ7Eux1qJ5QvDkhTh5IFyGCAEh/gYtRLkmaPXwl5ueSHwyx+go5Ka/ilFkF/S3jVqdXKA1qfe+rTIoDeWeK4pP6ggebzGXZE+WQ11D3kolvbHEVhhIxFuayxw9nszxEuVda0D47bN6Z3+ykwNRGLKJTQLiwT8D5kTsbaYc4mHnItOV+T51WVmdXEOM10LkzBOabQarnVlyeRti5LCCSNY13vCoi6kbpR+61zi27s4iE09UXAt5HaoLa52OzoNRDyJp3efLcHpPym9oIlMNuS+2iAjlT/zLNnNZuCunoZ687XKMI+sgnt16Ydn2UrcinY/Yy/DBYIdDoNrnsxjuE258ySkW6+CKpYVQ5R/rL5iA/XgPgnbiKFZnkxaTRE4k8NcRyxkfG9zYn3boB2ZQ5+tiOmjJcctJ+KKUheX9ekI5DV8P9Gq2QaIElKIyJ2yBj73rjjLOv6YVy1OFexIV34Es02vJjMHpUGG2ctwzVb9bNThZrcbhMERq3ZTjf+ohJouSMDR4KRHCSL/VSxVAkm1hepPNLMHN//veEf5YAiYt8dFBnQs1fv+c6wa2Z7HlUa4UhEVcf9NbWY=
script:
- pipenv run citests
- sonar-scanner -Dsonar.projectKey=transbank-sdk-python -Dsonar.projectName="Transbank Python SDK" -Dsonar.organization=transbankdevelopers -Dsonar.host.url=https://sonarcloud.io -Dsonar.sources=./transbank -Dsonar.python.coverage.reportPaths=coverage.xml
- stage: deploy
if: tag IS present
script: skip
deploy:
provider: pypi
user: transbankdevelopers
password:
secure: AHARbbj40IMpXm96BM5/hGw0qv8EBTM3k3xLqmb/QgodBt75tst7RFiIBpp/l6FbLG6iiUfpFiCCZ1B/LcU+lZ9+MV45QI7RgsKogxUZr0XtX3YX20Ks/KB2EqhA+Zv1kDOgzWTXEiLKT98wIyfWFs98IZoKFEk5aQmDo5V+j63IZ2WhjGOiNikJ4LI943P4TxvN1k6dK2ZOtn0sX4zX2zcFA31Qwp6WHiLNzUWn8yYyez1+B44DEaiOs6V2ALoLMslS67kuH9r4DnPmilyCiKXrXjxogthkqN21wC5owp0Uah02N4Qx20FZQFiApu0OFOqWWRPzV0d7yE4gmAWAccRMzlqbeHIfaFQVp+9fkaartbFYNsy3qH9WVJRPYCRREYsGEWCMvSgK/NSLrbNGEELVC1qc/VnoTFKNpc7Bkq3YXhhioPPSQeJJIcg0pBF+8F1Pp8UkqrpJx0fJkichGKU742FkGxO9PmXApaxjjD78322luc9cXR8Cuz4KzjrgRasKrNM6aLsSWqKiuSsSCLKqCHYbd4Vf8c0WKpmnsQpmrbnHnaPNortLhIyY5F8IgA2SYkJBKlUC5NaMAsJswSe0epTcEWNGuhIYQJ8LcWpZwPF7Ij4HKjUlYsnokzJdyh4nV8DPnj62P0RAFrXiCWcVhBF8cbBYtwGWZ8kM+Xc=
on:
tags: true