forked from pyinstaller/pyinstaller-hooks-contrib
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy path.travis.yml
68 lines (55 loc) · 1.64 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
language: python
branches:
except:
- /pyup\/.*/
dist: bionic
os: linux
services:
- xvfb # We might need to test GUIs https://docs.travis-ci.com/user/gui-and-headless-browsers/#using-services-xvfb.
jobs:
fast_finish: true
include:
- &test
stage: PyInstaller stable release
python: 3.9
install:
# Upgrade to the latest pip.
- python -m pip install -U pip setuptools wheel
# Install hooks-contrib
- pip install -e .
- pip install -r requirements-test-libraries.txt
# Install PyInstaller
- pip install pyinstaller
script: |
pyi_version="$(python -m PyInstaller --version)"
if [ "$pyi_version" != *"3.6"* ]; then
python -m PyInstaller.utils.run_tests -c pytest.ini
fi
- <<: *test
stage: PyInstaller development version
install: &install-develop
# Upgrade to the latest pip.
- python -m pip install -U pip setuptools wheel
# Install hooks-contrib
- pip install -e .
- pip install --prefer-binary -r requirements-test-libraries.txt
# Install PyInstaller
- pip install https://github.com/pyinstaller/pyinstaller/archive/develop.tar.gz
- <<: *test
python: 3.8
- <<: *test
python: 3.7
- <<: *test
python: 3.6
- <<: *test
stage: PyInstaller development version
python: 3.8
install: *install-develop
- <<: *test
stage: PyInstaller development version
python: 3.7
install: *install-develop
- <<: *test
stage: PyInstaller development version
python: 3.6
install: *install-develop