forked from gzzo/graphql-sqlalchemy
-
Notifications
You must be signed in to change notification settings - Fork 0
/
.travis.yml
41 lines (40 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
36
37
38
39
40
41
language: python
jobs:
include:
- stage: test
name: Code quality tests
env: TOXENV=black,flake8,mypy
python: 3.8
- name: Unit tests with Python 3.8
env: TOXENV=py38
python: 3.8
after_success:
- codecov
- name: Unit tests with Python 3.7
env: TOXENV=py37
python: 3.7
- name: Unit tests with Python 3.6
env: TOXENV=py36
python: 3.6
- stage: deploy
name: Deploy
script: poetry publish --build
if: tag =~ ^v
deploy:
- provider: releases
file_glob: true
file: dist/*
skip_cleanup: true
on:
tags: true
token:
secure: mWuUBXLwcJ4xOdnrT9wJBFDLIYZMfRLfeBrYqOOfF2Y7r2VpqSEkfeqoKm1P+K5k/wwRVRZzBhbIyplQ73lF/s22DdNAfM4O0e47ElmitdjVWboghfPr3O5aBykDh1RsYDHLtwdFSDldI+EZOjs2Ml/obQVEc8gEIDh2y2PcnJS235NRx5LamVTXMxukzyb4U9SPGDqumXyvxNWWZmCr3A/+dqQQ7WTrTl3sadarDxSeSZdUzBFDXyWxaqRkoGHQ3mBMHgPXoMEH/Mz9lukNyQOhg8bs9jTFISOimSmdVg9MLX5mD5S2VqXXcPYhpVnXpvNYB8Iolgzp+QoRNeVH6pyvXae2FwgYL58lQmqU1z99662Doz7a2IcxXWRUKPkXJ6mnHVE2uEhRR24LWYdlHc4AgkRygLYYi6I1NRhIFrORydmmYMB4ZIQINDkrhmtkjGlYDrkyEiHY6lNT9rA65MEb4ubdZYEuYFuaKWYt5L1oLGgs8MQEkwksEjTSBwqZwNW0A/PwuGg1bKTXpTnt1uFsbbgFzKofxBr5X3CzsndmYu8VP9KqoOqe9E8bEr6hyRsym/6S5ViofoiQRjQ+87Em3l1GjAZiWyqomYCaqoRdINhubaRUFSuM7T97kwvRC/DSOYIkUsYnlj0vij6GQNNUet5K1UnCdfeSVlYW3pc=
cache:
directories:
- "$HOME/.cache/pip"
- "$TRAVIS_BUILD_DIR/.tox"
install:
- pip install "poetry>=1,<2"
- poetry install
script:
- tox -e $TOXENV