forked from gpchelkin/scdlbot
-
Notifications
You must be signed in to change notification settings - Fork 0
/
.travis.yml
38 lines (33 loc) · 842 Bytes
/
.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
os: linux
dist: focal
language: python
python:
- '3.6'
- '3.7'
- '3.8'
- '3.9'
- '3.10'
env:
- POETRY_VERSION=1.1.13
install:
- pip freeze | xargs pip uninstall -y
- pip install --upgrade pip setuptools tox tox-travis
- curl -sSL https://raw.githubusercontent.com/python-poetry/poetry/master/install-poetry.py | python -
- export PATH="$HOME/.local/bin:$PATH"
- poetry config installer.parallel false
- poetry config experimental.new-installer false
# - poetry config virtualenvs.in-project true
- cat "$HOME/.config/pypoetry/config.toml"
script: tox
#after_success:
# # Send coverage to coveralls:
# - pip install coveralls
# - coveralls
deploy:
provider: script
script:
# POETRY_PYPI_TOKEN_PYPI is set in Travis CI environment variables
- poetry publish --build
on:
tags: true
python: '3.10'