This repository has been archived by the owner on Mar 17, 2023. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 9
/
.travis.yml
139 lines (126 loc) · 3.9 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
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
language: python
matrix:
include:
- os: linux
python: "3.6"
install:
- pip3 install -r requirements.txt
- pip3 install -r test_requirements.txt
- pip3 install .
- os: linux
python: "3.7"
install:
- pip3 install -r requirements.txt
- pip3 install -r test_requirements.txt
- pip3 install .
- os: linux
python: "3.8"
install:
- pip3 install -r requirements.txt
- pip3 install -r test_requirements.txt
- pip3 install .
- os: linux
python: "3.8-dev"
install:
- pip3 install -r requirements.txt
- pip3 install -r test_requirements.txt
- pip3 install .
- os: linux
python: "3.9-dev"
install:
- pip3 install -r requirements.txt
- pip3 install -r test_requirements.txt
- pip3 install .
- os: linux
python: "pypy3"
install:
- pip3 install -r requirements.txt
- pip3 install -r test_requirements.txt
- pip3 install .
- name: "Python 3.6.6 OSX"
os: osx
language: generic
env: PYTHON=3.6.6'
before_install:
- brew update
- brew install openssl
- brew install zlib
- brew outdated pyenv || brew upgrade pyenv
- brew install pyenv-virtualenv
- pyenv install 3.6.6
- export PYENV_VERSION=3.6.6
- export PATH="/Users/travis/.pyenv/shims:${PATH}"
- pyenv virtualenv venv
- source /Users/travis/.pyenv/versions/venv/bin/activate
- python --version
install:
- python -m pip install -U pip
- sudo pip install setuptools
- sudo pip install -r requirements.txt -e .
- sudo pip install -r test_requirements.txt -e .
- name: "Python 3.7.7 OSX"
os: osx
language: generic
env: PYTHON=3.7.7'
before_install:
- brew update
- brew install openssl
- brew install zlib
- brew outdated pyenv || brew upgrade pyenv
- brew install pyenv-virtualenv
- pyenv install 3.7.7
- export PYENV_VERSION=3.7.7
- export PATH="/Users/travis/.pyenv/shims:${PATH}"
- pyenv virtualenv venv
- source /Users/travis/.pyenv/versions/venv/bin/activate
- python --version
install:
- python -m pip install -U pip
- sudo pip install setuptools
- sudo pip install -r requirements.txt -e .
- sudo pip install -r test_requirements.txt -e .
- name: "Python 3.8.2 OSX"
os: osx
language: generic
env: PYTHON=3.8.2'
before_install:
- brew update
- brew install openssl
- brew install zlib
- brew outdated pyenv || brew upgrade pyenv
- brew install pyenv-virtualenv
- pyenv install 3.8.2
- export PYENV_VERSION=3.8.2
- export PATH="/Users/travis/.pyenv/shims:${PATH}"
- pyenv virtualenv venv
- source /Users/travis/.pyenv/versions/venv/bin/activate
- python --version
install:
- python -m pip install -U pip
- sudo pip install setuptools
- sudo pip install -r requirements.txt -e .
- sudo pip install -r test_requirements.txt -e .
- name: "Python 3.8.0 Windows"
os: windows
language: shell
before_install:
- choco install python --version 3.8.0
- python -m pip install --upgrade pip
env: PATH=/c/Python38:/c/Python38/Scripts:$PATH
install:
- python -m pip install -U pip # maybe dont need this
- pip install setuptools
- pip install -r requirements.txt -e .
- pip install -r test_requirements.txt -e .
allow_failures:
- python: "3.8-dev"
- python: "3.9-dev"
- python: "pypy3"
- os: windows
script:
- make test
# - make coverage
# - make lint
#after_script:
# - pip3 install codecov
# - codecov