-
Notifications
You must be signed in to change notification settings - Fork 0
/
.travis.yml
54 lines (51 loc) · 1.28 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
# Config for Travis CI
# https://travis-ci.org/
# https://github.com/dephell/dephell
os: linux
language: python
dist: bionic
python:
# - "3.6" # current default Python on Travis CI
# - "3.7"
- "3.8"
- "3.9"
# allow_failures:
# - "3.10-dev"
# command to install dependencies
install:
- pip install --upgrade pip wheel setuptools
- pip install poetry
- poetry install
# command to run tests
script:
- pytest -s
#jobs:
# include:
# # - python: "3.6"
# # env: ENV=pytest
# # - python: "3.7"
# # env: ENV=pytest
# # - python: "3.8"
# # env: ENV=pytest
#
# - name: "Mac Build"
# os: osx
# language: generic
# env: ENV=pytest
# addons:
# homebrew:
# packages:
# - python3
# script:
# - poetry run pytest
#
# - name: "Python 3.10 on Windows"
# os: windows # Windows 10.0.17134 N/A Build 17134
# language: shell # 'language: python' is an error on Travis CI Windows
# before_install:
# - choco install python
# install:
# - pip install --upgrade --user pip wheel setuptools poetry
# - poetry install
# env: PATH=/c/Users/travis/AppData/Roaming/Python/Python310/Scripts:/c/Python310:/c/Python310/Scripts:$PATH
# script: poetry run pytest