forked from FAForever/client
-
Notifications
You must be signed in to change notification settings - Fork 0
/
appveyor.yml
54 lines (45 loc) · 1.35 KB
/
appveyor.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
environment:
matrix:
- PYTHON: "C:\\Python27"
PYTHON_VERSION: "2.7.9"
PYTHON_ARCH: "32"
QTIMPL: "PyQt4"
INSTALL_QT: "py27-pyqt4"
TESTENVS: "py27-pyqt4"
init:
- "ECHO %PYTHON% %PYTHON_VERSION% %PYTHON_ARCH% %QTIMPL%"
install:
- "C:\\Python27\\python -u appveyor\\install_qt.py"
- "powershell appveyor\\install.ps1"
- ps: "$env:APPVEYOR_BUILD_VERSION = (& c:\\Python27\\python .\\src\\config\\version.py) + \"+\" + $env:APPVEYOR_BUILD_NUMBER"
- ps: "get-childitem env:"
- ps: "$env:PYTEST_QT_API=\"pyqt4v2\""
- ps: "$env:FAF_FORCE_PRODUCTION=true"
- "%PYTHON%\\Scripts\\pip.exe install -r requirements.txt --trusted-host content.faforever.com"
test_script:
- "%PYTHON%\\Scripts\\py.test.exe"
after_test:
- "%PYTHON%\\python setup.py bdist_msi"
artifacts:
- path: '**\*.msi'
deploy:
- provider: GitHub
release: $(appveyor_build_version)
auth_token:
secure: "09WRxoB8lu9lPzuk3qYu0brKVQubLpnsS1Wdn49nYZYi5RDiva3z37eITcjtZkTD"
artifact: /.*\.msi/
draft: true
prerelease: true
on:
branch: develop
- provider: GitHub
release: $(appveyor_build_version)
auth_token:
secure: "09WRxoB8lu9lPzuk3qYu0brKVQubLpnsS1Wdn49nYZYi5RDiva3z37eITcjtZkTD"
artifact: /.*\.msi/
draft: false
prerelease: false
on:
branch: master
appveyor_repo_tag: true
build: off