-
Notifications
You must be signed in to change notification settings - Fork 7
/
Copy path.travis.yml
49 lines (48 loc) · 2.12 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
# https://docs.travis-ci.com/user/languages/python/#python-versions
# https://docs.travis-ci.com/user/reference/overview/#linux
language: python
jobs:
include:
- os: linux
dist: bionic
python: 3.8
- os: linux
dist: bionic
python: 3.7
- os: linux
dist: bionic
python: 3.6
- os: linux
dist: xenial
python: 3.5
- os: linux
dist: xenial
python: 3.4
- os: linux
dist: bionic
python: 2.7
before_install:
- pip install codecov tox>=1.8
install:
- if [[ $TRAVIS_PYTHON_VERSION == '2.7' ]]; then export PYVER=py27; fi
- if [[ $TRAVIS_PYTHON_VERSION == '3.1' ]]; then export PYVER=py31; fi
- if [[ $TRAVIS_PYTHON_VERSION == '3.2' ]]; then export PYVER=py32; fi
- if [[ $TRAVIS_PYTHON_VERSION == '3.3' ]]; then export PYVER=py33; fi
- if [[ $TRAVIS_PYTHON_VERSION == '3.4' ]]; then export PYVER=py34; fi
- if [[ $TRAVIS_PYTHON_VERSION == '3.5' ]]; then export PYVER=py35; fi
- if [[ $TRAVIS_PYTHON_VERSION == '3.6' ]]; then export PYVER=py36; fi
- if [[ $TRAVIS_PYTHON_VERSION == '3.7' ]]; then export PYVER=py37; fi
- if [[ $TRAVIS_PYTHON_VERSION == '3.8' ]]; then export PYVER=py38; fi
- if [[ $TRAVIS_PYTHON_VERSION != '3.2' ]]; then export COMMAND='coverage run'; fi
script: COMMAND="${COMMAND:-python}" tox -e$PYVER
after_success:
- codecov
deploy:
provider: pypi
user: nekmo
password:
secure: dfB/GIK9NAIRyBtl7sp71xikgVxZ3XYXemWWBJgOe93X8uvgHST4F2HThkY2Ej6MClEFn7NsMzY4OGpiPX58DbrHYOeUTdeDN86v7lSuK5U7/IyCwaeCtvwkfSVK7vEIM9I4eilB1vpUPban7HJHPaQEX7rKgeoFu9sHg/Cz0C7WSPhg8KFy8clQ07lFRBH/pVYeX4A4aP5ASRI/c/wbuvcYd0PLp/w0R4XE3nvlUNKMP1vLZKk2RH5ii31BP1kH9KpscENlad5DdBpiNxvzbrJeUiizRWp7ztXSHu0XAkTcE0dFBnxNq6MWZXRmATN55Y0srZjh3Ysln3EJFGSHThZhaU4XkEJNmNPLm3qDPk4/daopnRRymCy56GosGTWSlVf7wHKSErxV7Ny15eCFQTG9m0+V7J5kmTPI/o0T/zBbzsjxnPZG6AgFQXPblN8QQOKCI/AYh104yFIK33KtjNboNgw/LssBuBxvZ6WBoobspNMYjWH/sCYu2O16wva4OnOvd9oDuH5LpbwtBLtAclQLt4JGgorpGUBpQLjE8QAhc68AR7eGlckHDsHTfGgiOLlELTV8rDqXpntAmzt7UlnBj4pTgWEGti+xQj/oIq8zGbxJXyDAokEyuIzOiB5QM0bNxH+VqVHAgJ0XxiuqZOoNAzZUjFu24vW9qDuFFwc=
on:
tags: true
distributions: sdist bdist_wheel
repo: Nekmo/python-akismet