-
Notifications
You must be signed in to change notification settings - Fork 7
/
appveyor.yml
56 lines (34 loc) · 1.02 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
55
56
version: 1.0.{build}
build_script:
- cmd: >-
echo %cd%
SET CONDA=C:\Miniconda36
call %CONDA%\Scripts\Activate %CONDA%
SET ENVNAME=re_env
SET PROJDIR=%APPVEYOR_BUILD_FOLDER%
conda create -y -n %ENVNAME%
activate %ENVNAME%
conda install -y pip
pip install cx_Freeze
conda install -y pyqt=5.6.0
conda install -y -c conda-forge qscintilla2
pip install --upgrade setuptools 2> nul || exit 0
cd %PROJDIR%
dir "%CONDA%\envs\%ENVNAME%/Library/plugins/"
echo d | xcopy "%CONDA%\envs\%ENVNAME%/Library/plugins/imageformats" imageformats /s /e
echo d | xcopy "%CONDA%\envs\%ENVNAME%/Library/plugins/platforms" platforms /s /e
python setup.py --freeze build
dir
dir build
artifacts:
- path: build/
name: build
deploy:
- provider: FTP
host: www.cosarara.me
protocol: sftp
username: appveyor
password:
secure: DwuoTz5lxAp3rYcz71+fW7oBP+s2LY4yUjccPwXB7+I=
folder: redalien
artifact: build