-
Notifications
You must be signed in to change notification settings - Fork 12
/
.travis.yml
45 lines (42 loc) · 1.18 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
language: python
sudo: false
cache: pip
dist: trusty
matrix:
fast_finish: true
install:
- "python -m pip install --upgrade pip pytest-timeout"
- "python -m pip install --upgrade -e .[tests]"
script:
- "python -m pytest -v -n 8 tests/"
jobs:
include:
- python: "3.7"
dist: xenial
sudo: required
- python: "3.6"
- python: "2.7"
- python: "3.5"
- python: "3.4"
- stage: packaging
python: "3.6"
install:
- "python -m pip install --upgrade pip"
- "python -m pip install --upgrade check-manifest readme-renderer"
script:
- "python setup.py check -m -r -s"
- stage: packing
python: "3.6"
install:
- "python -m pip install --upgrade -e .[pack]"
script:
- "invoke pack"
- "python2.7 pack/passa.zip --help"
- stage: coverage
python: "3.6"
install:
- "python -m pip install --upgrade pip"
- "python -m pip install --upgrade -e .[tests]"
- "python -m pip install --upgrade pytest-timeout pytest-xdist pytest-cov"
script:
- "pytest -n auto --timeout 300 --cov=passa --cov-report=term-missing --cov-report=xml --cov-report=html tests"