-
-
Notifications
You must be signed in to change notification settings - Fork 13
Expand file tree
/
Copy path.travis.yml
More file actions
31 lines (25 loc) · 643 Bytes
/
.travis.yml
File metadata and controls
31 lines (25 loc) · 643 Bytes
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
dist: xenial
language: python
env:
global:
- PYTEST_ADDOPTS="-vv"
jobs:
include:
- python: '3.4'
env:
- TOXENV=py34-coverage
- PYTEST="pytest @ git+https://github.com/blueyed/pytest@my-4.6-maintenance"
install:
- pip install tox
script:
- tox --force-dep="$PYTEST"
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
# Only master and releases. PRs are used otherwise.
branches:
only:
- master
- /^\d+\.\d+(\.\d+)?(-\S*)?$/