-
Notifications
You must be signed in to change notification settings - Fork 1
/
Copy path.travis.yml
37 lines (34 loc) · 901 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
30
31
32
33
34
35
36
37
language: python
sudo: false
cache: pip
dist: trusty
matrix:
fast_finish: true
install:
- "python -m pip install --upgrade pip"
- "python -m pip install -e .[tests]"
script:
- "python -m py.test -v -n 8 tests/"
jobs:
include:
- stage: test
- 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 check-manifest readme-renderer"
script:
- "python setup.py check -m -r -s"
- stage: coverage
python: "3.6"
install:
- "python -m pip install --upgrade pip"
- "python -m pip install --upgrade -e .[tests]"
script:
- "python -m pytest -n auto --timeout 300 --cov=packagebuilder --cov-report=term-missing --cov-report=xml --cov-report=html tests"