-
Notifications
You must be signed in to change notification settings - Fork 4
/
.travis.yml
54 lines (54 loc) · 1.75 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
54
os: linux
dist: jammy
jdk: openjdk17
language: python
python:
- '3.8'
branches:
only:
- master
- "/\\d+\\.\\d+\\.\\d+/"
jobs:
include:
- name: flake8
install:
- pip install tox
script:
- tox -e flake8
- name: behave
install:
- pip install tox
service:
- docker
addons:
# For the `SONARQUBE_SCANNER_PARAMS` variable
sonarcloud:
token: ${SONAR_TOKEN}
script:
- tox -e behave
- >
docker run --rm
-e SONARQUBE_SCANNER_PARAMS
-e SONAR_TOKEN="${SONAR_TOKEN}"
-v "`pwd`:/usr/src"
sonarsource/sonar-scanner-cli
- name: test
install:
- pip install tox
script:
- tox -e test
- stage: deploy
name: pypi
if: branch ~= /\d+\.\d+\.\d+/
install: skip
script: skip # skip test scripts
deploy:
provider: pypi
skip_cleanup: true
username: __token__
password:
secure: Ypm5LqfxiOTv9fYnsNsI0d9hz7xAcuKjzHA2EWCfyDxLoHmRADlkhdUhg0ljhZ73XHDY+EOfWuOaG3hObtn7+bmMKswpdf9ICuT7v/MLTNjBYqptKVnmDl3lcGJj3hoXnj7uLLHC45qQPtsFTwRiyZKYYmIQ7WEitZnMK6F/aOyw5KL+5P1u6pjbt43t0dlhQECpBrGGwItr0XUwgi/AXGjFh25xQ/M+XK9O8H48m/aPbIPJEPKE0OzIDPhAQK8coEIu0jWpblzo1bu1qnyJ57EYPo+Yxy4sjUsitxmVrgaDmpWg88MS0gkKpxsUPQ7EPF0OTv0QbQoG8AZb75/rszRAUP6WsIY1Gj9/h5ub/heVkd8huTdHxftKhpzEFJBMy87YQ8RkQBzT33ae80HhDRIF9Wh9J1XPC1zJ58hlQCtuX/csiyWemLdJjLw+/FaFgAI0C4gNCpRRFSEx0eo0Qj/ccFAUnQ4XldnHRlqhD+yK+qJ+WOZ1EhvjB0TTuZ4/+TeFDY+r4b5k0iLJdcfaU171cY6sBPj0ZMGib7zwLqAz8NjQgSHyEAhBxVRpwhAfdAmZpqVbOytvlNQbVphx8NzT7dT6c7Tk8Yd96a4961Ug/bc0/tDbcGDIxuL3KI0X+hK88HHaPp0zakHzNi1lGpYni3ZwirtViz4eRFAqMDU=
distributions: sdist bdist_wheel
on:
tags: true
repo: i3thuan5/KeSi