forked from owenlyn0123/python-gui-barcode-reader
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy path.travis.yml
More file actions
96 lines (92 loc) · 2.57 KB
/
Copy path.travis.yml
File metadata and controls
96 lines (92 loc) · 2.57 KB
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
language: python
jobs:
include:
- name: "Python 3.6.0 on AMD64 Linux"
python: 3.6
os: linux
arch: amd64
- name: "Python 3.7.0 on AMD64 Linux"
python: 3.7
os: linux
arch: amd64
- name: "Python 3.8.0 on AMD64 Linux"
python: 3.8
os: linux
arch: amd64
- name: "Python 3.9.0 on AMD64 Linux"
python: 3.9
os: linux
arch: amd64
- name: "Python 3.6.0 on ARM64 Linux"
python: 3.6
os: linux
arch: arm64
- name: "Python 3.7.0 on ARM64 Linux"
python: 3.7
os: linux
arch: arm64
- name: "Python 3.8.0 on ARM64 Linux"
python: 3.8
os: linux
arch: arm64
- name: "Python 3.9.0 on ARM64 Linux"
python: 3.9
os: linux
arch: arm64
- name: "Python 3.7 on macOS"
os: osx
osx_image: xcode11.4
language: shell
before_install:
- python3 --version
- name: "Python 3.8 on macOS"
os: osx
osx_image: xcode11.6
language: shell
before_install:
- python3 --version
- name: "Python 3.9 on macOS"
os: osx
osx_image: xcode12.2
language: shell
before_install:
- python3 --version
- name: "Python 3.6.0 on Windows"
os: windows
language: shell
before_install:
- choco install python --version 3.6.0
- python -m pip install --upgrade pip
env: PATH=/c/Python36:/c/Python36/Scripts:$PATH
- name: "Python 3.7.0 on Windows"
os: windows
language: shell
before_install:
- choco install python --version 3.7.0
- python -m pip install --upgrade pip
env: PATH=/c/Python37:/c/Python37/Scripts:$PATH
- name: "Python 3.8.0 on 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
- name: "Python 3.9.0 on Windows"
os: windows
language: shell
before_install:
- choco install python --version 3.9.0
- python -m pip install --upgrade pip
env: PATH=/c/Python39:/c/Python39/Scripts:$PATH
install:
- if [[ ${TRAVIS_OS_NAME} == "windows" ]]; then
pip install dbr opencv-python-headless;
else
pip3 install dbr opencv-python;
fi
branches:
only:
- main
script:
- python3 ./test.py ./images/1D-1-OverExposure.jpg || python ./test.py ./images/1D-1-OverExposure.jpg