forked from jedie/django-reversion-compare
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy path.travis.yml
62 lines (51 loc) · 1.36 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
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
# Config file for automatic testing at travis-ci.org
# https://docs.travis-ci.com/user/languages/python/
language: python
python:
- "3.6"
- "3.7"
- "3.8"
- "pypy3"
cache:
directories:
- $HOME/.pip-accel
- $HOME/.cache/pip
matrix:
allow_failures:
- python: pypy3
fast_finish: true
include:
#
# Generated from 'tox -l' with tox2travis.py
# https://github.com/jedie/python-code-snippets/blob/master/CodeSnippets/tox2travis.py
#
- env: TOXENV=py36-django22
python: 3.6
- env: TOXENV=py36-django30
python: 3.6
- env: TOXENV=py37-django22
python: 3.7
- env: TOXENV=py37-django30
python: 3.7
- env: TOXENV=py38-django22
python: 3.8
- env: TOXENV=py38-django30
python: 3.8
- env: TOXENV=pypy3-django22
python: pypy3
- env: TOXENV=pypy3-django30
python: pypy3
install:
- make install-poetry
- source $HOME/.poetry/env
- make install
- poetry run pip freeze
- make tox-listenvs
script:
- if [ "$TOXENV" == "" ]; then make pytest; fi
- if [ "$TOXENV" != "" ]; then make tox; fi
- if [ "$TOXENV" != "" ]; then make lint; fi
after_success:
# https://github.com/codecov/codecov-bash
- bash <(curl -s https://codecov.io/bash)
- coveralls