forked from CCI-Tools/cate-installer
-
Notifications
You must be signed in to change notification settings - Fork 0
/
appveyor.yml
52 lines (45 loc) · 1.05 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
# version here is only relevant for the AppVeyor CI, no need to adjust
version: '{build}'
build: off
environment:
global:
PYTHON_LOC: "C:\\Miniconda36-x64"
nodejs_version: "6.9.0"
apiUrl : "https://ci.appveyor.com/api"
branches:
only:
- master
install:
# core
- set PATH=%PYTHON_LOC%;%PYTHON_LOC%\Scripts;%PATH%
- conda config --set always_yes yes --set changeps1 no
- conda update conda
- conda install -y constructor
# desktop
- git clone https://github.com/CCI-Tools/cate-desktop.git
- cd cate-desktop
- ps: Install-Product node $env:nodejs_version x64
- npm install
- cd ..
build_script:
# core
- constructor installer
- ps: $MINICONDA_FILE="*.exe"
# desktop
- cd cate-desktop
- npm run dist
- cd ..
- move cate-desktop\dist win64
- ps: cp $MINICONDA_FILE win64
artifacts:
- path: 'win64\*.exe'
name: installer
deploy:
- provider: FTP
protocol: ftp
host: ftp.brockmann-consult.de
username: ccitbx
password:
secure: pgE0Tsk7QVyQ6jvH42jqWA==
folder: software
debug: true