forked from marcelm/cutadapt
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy path.travis.yml
63 lines (49 loc) · 1.01 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
55
56
57
58
59
60
61
62
63
language: python
cache:
directories:
- $HOME/.cache/pip
install:
- pip install tox
script:
- tox
after_success:
- pip install codecov
- codecov
env:
global:
#- TWINE_REPOSITORY_URL=https://test.pypi.org/legacy/
- TWINE_USERNAME=marcelm
# TWINE_PASSWORD is set in Travis settings
jobs:
include:
- python: "3.5"
env: TOXENV=py35
- python: "3.6"
env: TOXENV=py36
- python: "3.7"
env: TOXENV=py37
- python: "3.8"
env: TOXENV=py38
- name: flake8
python: "3.6"
env: TOXENV=flake8
- name: mypy
python: "3.6"
env: TOXENV=mypy
- name: docs
python: "3.6"
env: TOXENV=docs
- stage: deploy
services:
- docker
python: "3.6"
install: python3 -m pip install Cython twine
if: tag IS present
script:
- |
python3 setup.py sdist
./buildwheels.sh
ls -l dist/
python3 -m twine upload dist/*
allow_failures:
- python: "nightly"