-
Notifications
You must be signed in to change notification settings - Fork 17
/
.travis.yml.bak
56 lines (45 loc) · 1.33 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
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
language: python
os: linux
matrix:
include:
- name: 3.7_xenial
python: 3.7
dist: xenial
- name: 3.8_xenial
python: 3.8
dist: xenial
- 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 # Python 3.7.4 running on macOS 10.14.4
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
addons:
apt:
packages:
- xvfb
- imagemagick
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 .
- EASYPROCESS_USE_TEMP_FILES=0 $PYTHON -m pytest -v .