forked from fabric/patchwork
-
Notifications
You must be signed in to change notification settings - Fork 0
/
.travis.yml
29 lines (29 loc) · 962 Bytes
/
.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
sudo: false
language: python
python:
- "2.7"
- "3.4"
- "3.5"
- "3.6"
- "pypy"
- "pypy3"
matrix:
# pypy3 (as of 2.4.0) has a wacky arity issue in its source loader. Allow it
# to fail until we can test on, and require, PyPy3.3+. See invoke#358.
allow_failures:
- python: pypy3
# Disabled per https://github.com/travis-ci/travis-ci/issues/1696
# fast_finish: true
install:
- pip install -r dev-requirements.txt
script:
# Run tests w/ coverage first, so it uses the local-installed copy.
# (If we do this after the below installation tests, coverage will think
# nothing got covered!)
- inv coverage --report=xml
# TODO: tighten up these install test tasks so they can be one-shotted
- inv travis.test-installation --package=patchwork --sanity="inv sanity"
- inv travis.test-packaging --package=patchwork --sanity="inv sanity"
- inv docs --nitpick
- flake8
# TODO: after_success -> codecov, once coverage sucks less XD