-
Notifications
You must be signed in to change notification settings - Fork 3
/
.travis.yml
62 lines (56 loc) · 1.23 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
matrix:
include:
- language: python
python: 3.6
env: TOXENV=py36
cache: pip
before_install:
- pip install -U pip
install:
- pip install -U tox-travis
script: tox
- language: python
python: 3.7
env: TOXENV=py37
cache: pip
before_install:
- pip install -U pip
install:
- pip install -U tox-travis codecov
script: tox
after_success: codecov
- language: python
python: 3.8
env: TOXENV=py38
cache: pip
before_install:
- pip install -U pip
install:
- pip install -U tox-travis
script: tox
- language: python
python: 3.7
env: TOXENV=flake8
cache: pip
before_install:
- pip install -U pip
install:
- pip install -U tox-travis
script: tox
# Deploy a snapshot
#before_deploy:
#- pip install bump2version
#- bump2version patch --allow-dirty --list --new-version '{$(git describe)}' --no-commit --tag-name '{$(git describe)}'
#- pip install -r docs/requirements-docs.txt
#- mkdocs build
deploy:
- provider: pypi
user: "__token__"
password: $PYPI_TOKEN
skip_existing: true
# - provider: pages
# skip_cleanup: true
# github_token: $GITHUB_TOKEN
# keep_history: true
# on:
# branch: master