forked from datadvance/DjangoChannelsGraphqlWs
-
Notifications
You must be signed in to change notification settings - Fork 0
/
.travis.yml
107 lines (100 loc) · 4.11 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
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
# Copyright (C) DATADVANCE, 2010-2021
#
# Permission is hereby granted, free of charge, to any person obtaining
# a copy of this software and associated documentation files (the
# "Software"), to deal in the Software without restriction, including
# without limitation the rights to use, copy, modify, merge, publish,
# distribute, sublicense, and/or sell copies of the Software, and to
# permit persons to whom the Software is furnished to do so, subject to
# the following conditions:
#
# The above copyright notice and this permission notice shall be
# included in all copies or substantial portions of the Software.
#
# THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND,
# EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF
# MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT.
# IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY
# CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT,
# TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE
# SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
# Travis CI configuration.
jobs:
include:
- name: "Python 3.6 on Xenial Linux"
os: linux
dist: xenial
language: python
python: "3.6"
before_install:
- python --version
- python -m pip install --upgrade pip
- python -m pip install poetry
install:
- python -m poetry install --no-interaction --verbose
script:
- python -m poetry run pytest --cov-report=term --cov-report=html
- name: "Python 3.7 on Xenial Linux"
os: linux
dist: xenial
language: python
python: "3.7"
before_install:
- python --version
- python -m pip install --upgrade pip
- python -m pip install poetry
install:
- python -m poetry install --no-interaction --verbose
script:
- python -m poetry run pytest --cov-report=term --cov-report=html
- name: "Python 3.8 on Xenial Linux"
os: linux
dist: xenial
language: python
python: "3.8"
before_install:
- python --version
- python -m pip install --upgrade pip
- python -m pip install poetry
install:
- python -m poetry install --no-interaction --verbose
script:
- python -m poetry run pytest --cov-report=term --cov-report=html
- name: "Python 3.7.4 on MacOS"
os: osx
osx_image: xcode11.2 # Python 3.7.4 running on MacOS 10.14.4.
language: shell
before_install:
- python3 --version
- python3 -m pip install --upgrade pip
- python3 -m pip install poetry
install:
- python3 -m poetry install --no-interaction --verbose
script:
- python3 -m poetry run pytest --cov-report=term --cov-report=html
- name: "Python 3.7.7 on Windows"
os: windows
language: shell
env: PATH=/c/Python37:/c/Python37/Scripts:$PATH
before_install:
- choco install python --version 3.7.7 --no-progress
- python --version
- python -m pip install --upgrade pip
- python -m pip install poetry
install:
- python -m poetry install --no-interaction --verbose
script:
- python -m poetry run pytest --cov-report=term --cov-report=html
- name: "Python 3.8.2 on Windows"
os: windows
language: shell
env: PATH=/c/Python38:/c/Python38/Scripts:$PATH
before_install:
- choco install python --version 3.8.2 --no-progress
- python --version
- python -m pip install --upgrade pip
- python -m pip install poetry
install:
- python -m poetry install --no-interaction --verbose
script:
- python -m poetry run pytest --cov-report=term --cov-report=html