forked from sarugaku/vistir
-
Notifications
You must be signed in to change notification settings - Fork 0
/
.travis.yml
39 lines (36 loc) · 940 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
38
39
language: python
sudo: false
cache: pip
dist: trusty
matrix:
fast_finish: true
install:
- "pip install --upgrade pip pipenv"
- "pipenv install --dev"
- "pipenv run pip install --upgrade -e .[spinner,tests]"
script:
- "pipenv run pytest -v 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:
- "pip install --upgrade twine readme-renderer[md]"
script:
- "python setup.py sdist"
- "twine check dist/*"
- stage: coverage
python: "3.6"
install:
- "pip install --upgrade pip pipenv pytest-cov pytest-timeout pytest"
- "pipenv install --dev"
script:
- "pipenv run pytest --timeout 300 --cov=vistir --cov-report=term-missing --cov-report=xml --cov-report=html tests"