forked from pytest-dev/pluggy
-
Notifications
You must be signed in to change notification settings - Fork 0
/
.travis.yml
81 lines (74 loc) · 2.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
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
dist: xenial
language: python
stages:
- name: test
if: tag IS NOT present
- name: deploy
if: repo = pytest-dev/pluggy AND tag IS present
jobs:
include:
- python: '3.6'
env: TOXENV=linting
cache:
directories:
- $HOME/.cache/pre-commit
- python: '3.6'
env: TOXENV=docs
- python: '2.7'
env: TOXENV=py27-coverage
- python: '3.4'
env: TOXENV=py34-coverage
- python: '3.5'
env: TOXENV=py35-coverage
- python: '3.6'
env: TOXENV=py36-coverage
- python: 'pypy2.7-6.0'
env: TOXENV=pypy-coverage
- python: 'pypy3.5-6.0'
env: TOXENV=pypy3-coverage
- python: '3.7'
env: TOXENV=py37-coverage
- python: '3.8-dev'
env: TOXENV=py38-coverage
- python: '3.6'
env: TOXENV=py36-pytestmaster-coverage
- python: '3.6'
env: TOXENV=py36-pytestfeatures-coverage
- python: '3.6'
env: TOXENV=benchmark
- python: '3.7'
env: TOXENV=py37-pytestmaster-coverage
- python: '3.7'
env: TOXENV=py37-pytestfeatures-coverage
- stage: deploy
python: '3.6'
env:
install: pip install -U setuptools setuptools_scm
script: skip
deploy:
provider: pypi
user: nicoddemus
distributions: sdist bdist_wheel
skip_upload_docs: true
password:
secure: PDvQCKfXrF1V/tdwEOfeDEjDs6vJ9gKWo4yrMUmBx1JL5plHZaqfHLftlGMoHekaQTHcfyYYbxignFw5IGsn97/nFKKWDPNBfZA+3RJJmeJfz2NQunYkSnoqtBtfEtWHzFPdkCm0w/CN9C8IpRjhvLnFTUQzil6iMy6wZG276gU=
on:
tags: true
repo: pytest-dev/pluggy
install:
- pip install -U pip
- pip install -U --force-reinstall setuptools tox
script:
- tox
after_script:
- |
if [[ "${TOXENV%-coverage}" != "$TOXENV" ]]; then
bash <(curl -s https://codecov.io/bash) -Z -X gcov -X coveragepy -X search -X xcode -X gcovout -X fix -f coverage.xml -n $TOXENV
fi
notifications:
irc:
channels:
- "chat.freenode.net#pytest"
on_success: change
on_failure: change
skip_join: true