-
Notifications
You must be signed in to change notification settings - Fork 3
/
.travis.yml
48 lines (48 loc) · 4.26 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
dist: xenial
language: python
python:
- '3.6'
- '3.7'
# Don't build tags.
branches:
except:
- /^v\d+\.\d+(\.\d+)?(-\S*)?$/
install:
- pip install --upgrade pip==18.1
- pip install poetry codacy-coverage
- make install
script:
- make test
- make lint
- make docs
- ./check_version.sh
after_success:
- python-codacy-coverage -r coverage.xml
before_deploy:
- poetry config http-basic.pypi bmaher "$PYPI_PASSWORD"
- git config --local user.name "$GITHUB_USERNAME"
- git config --local user.email "$GITHUB_EMAIL"
- export TRAVIS_TAG=v$(poetry run zelt --version)
- git tag --force $TRAVIS_TAG
deploy:
- provider: script
script: poetry publish --build
on:
branch: master
python: '3.7'
- provider: releases
api_key: "$GITHUB_TOKEN"
file_glob: true
file: dist/*
skip_cleanup: true
on:
tags: true
branch: master
python: '3.7'
env:
global:
- secure: srbKwlHyxO99svj3AHVsE1dzuCajaOwg8jMAtu4A6FAiXa1XWe7TDQJl2+Ebw6x1aWBCsmo7cYu+nTcuVQCM2s3pKhUUPbs0cabiDtPnzLXUE08SPsZCsPxQd46L8NjR+JttnKOXlatU4xCiQEusagqi/+XFbiD2EDUxo9q3sjAPBRW7lxwiFCthLFaG6JdNaXoZrkxDZCgdLSJmsvihaCxsGEmMoq9pjmOOb9VwcbADCR+hAhGblddyfi9U4zOxIDMpQhYcHb5HTLDNR1z+Eeix4GUqS2SxJePdtQwwlNbAl4hnEvmdHxVnafRmVjQdEwchMI2SxedlRrOLVtibKRdkAAFBgt7LEGqF12cpPI6nxZw9Z6RGyuuk0k/1Fy+IDcRwYuwmE8GYGlzjs5pax+G3V7KbEQDsaeGS92jHbU9OGYd6mIvLRxv7cZCr21YSP2Ua8SAmcFJR17g4hCdX6570+2ToOO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