-
Notifications
You must be signed in to change notification settings - Fork 3
/
Copy path.travis.yml.bak
41 lines (34 loc) · 1.05 KB
/
.travis.yml.bak
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
language: python
python:
- "3.6"
matrix:
include:
- name: 3.7_bionic
python: 3.7
dist: bionic
- name: 3.8_focal
python: 3.8
dist: focal
- name: 3.9_focal
python: 3.9
dist: focal
- name: "Python 3.7 on macOS"
os: osx
osx_image: xcode11.2
language: shell # 'language: python' is an error on Travis CI macOS
env: PATH=/Users/travis/Library/Python/3.7/bin:$PATH PIPUSER=--user
- name: "Python 3.8 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 --version 3.8
- python -m pip install --upgrade pip
env: PATH=/c/Python38:/c/Python38/Scripts:$PATH
install:
- PYTHON=python3
- if [ ${TRAVIS_OS_NAME} == "windows" ]; then PYTHON=python; fi
- $PYTHON -m pip install $PIPUSER --upgrade -r requirements-test.txt
- $PYTHON -m pip install $PIPUSER --upgrade .
script:
- cd tests
- $PYTHON -m pytest -v .