This repository has been archived by the owner on Aug 4, 2020. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 341
/
.travis.yml
50 lines (45 loc) · 1.43 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
# https://blog.travis-ci.com/2018-10-11-windows-early-release
# https://docs.travis-ci.com/user/reference/windows
# https://chocolatey.org/packages/python
os: windows # Windows Server, version 1803
language: sh # 'language: python' is not yet supported
py27-steps: &py27-steps
env: PATH=/c/Python27:/c/Python27/Scripts:$PATH
before_install:
- choco install python2
- python -m pip install --upgrade pip
py35-steps: &py35-steps
env: PATH=/c/Python35:/c/Python35/Scripts:$PATH
before_install:
- choco install python --version 3.5.4
- python -m pip install --upgrade pip
py36-steps: &py36-steps
env: PATH=/c/Python36:/c/Python36/Scripts:$PATH
before_install:
- choco install python --version 3.6.8
- python -m pip install --upgrade pip
py37-steps: &py37-steps
env: PATH=/c/Python37:/c/Python37/Scripts:$PATH
before_install:
- choco install python
- python -m pip install --upgrade pip
matrix:
allow_failures:
- name: "Python 2.7" # It is legacy Python after all...
include:
- name: "Python 2.7"
<<: *py27-steps
- name: "Python 3.5"
<<: *py35-steps
- name: "Python 3.6"
<<: *py36-steps
- name: "Python 3.7"
<<: *py37-steps
install:
- pip install -r requirements.txt
script:
- choco install opencv upx
- PYVER="import sys ; print('py{}{}'.format(*sys.version_info))"
- pip install --upgrade setuptools
- python compile.py --yes
# - ./dist/RATAttack.exe