-
Notifications
You must be signed in to change notification settings - Fork 105
/
.travis.yml
53 lines (48 loc) · 1.7 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
language: python
python:
- 3.7
- 3.8
env:
- TOXENV=coverage
stages:
- test
- name: deploy
if: repo = boxed/mutmut AND tag IS present
install:
- travis_retry pip install tox-travis
script:
- tox
after_success:
- travis_retry pip install codecov
- codecov
jobs:
include:
- stage: test
python: 3.8
after_success: skip
# - os: windows
# language: sh
# python: "3.7"
# before_install:
# - choco install python --version 3.7.2
# - export PATH="/c/Python37:/c/Python37/Scripts:$PATH"
# - python -m pip install --upgrade pip wheel
# - python -m pip install codecov
# - python -m pip install tox
# after_success:
# - python -m codecov
- stage: deploy
python: "3.7"
before_script: skip
after_script: skip
after_success: skip
script:
- python setup.py sdist
deploy:
provider: pypi
user: boxed
password:
secure: RIx54eu4Pxu4nDWNU8WCztI0POS9iPmIz4v4ClzkFIGR3N14sfK3V4OHnQMSI/3rY1KBbm4XRRoOpzLi52tHYI7B4FUzp0TSrWKjETqHgA2/ZJ4fCFyCYnD+loU4MKWHTcVfmlVKyhGIXxBTCX5T6ieUFcno455eE11PKQSo1gsK36uB5WMeW7E6hwAvn3b17PFLiMnpGq8rO3+QzU0WbLCRacKXGMuleqKMDGxvmDwZIz1Sk3RhPMY+EHXNYXFeBzCxjdlxf5ZwVFrQgqqni4C0et04xq680d81KbVdt9iqptdGr54d7Gl1S+ErVj7fwCkCrAFrcy3ui+e0TJofNefdn2i45PhDodoLC4tiT18Tx6ZA4AYPb9RkyTr5WUWIZ5KOaNqsZIxvo13pw4x5oTv8kf5MJ/pMF5MzY+Mx8+4hk7Box0t6V5OIWcm3vu4gIFDEWinKCKjmR3leP6kY/Nlc7M//jBcG1DJ3WajFIv7+eNe4kqPV2PHjN9SsxtlAWO1oqyV2pcWlmSPyIutIZy0jehHCxBEPvK05yq34fHV7JVQOcjIgi4IyyUgJ+Kfkf0E0TcTVvBkjE7FD01ekvI9jvlhwC20BvfWw+7b7iL8pTyQb1FqmgF5FkEIPugeDYR1pT19efrHbfSZtvv+eXV+UltSpQix1Jn9u+JqOxNE=
on:
tags: true
repo: boxed/mutmut