-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathappveyor.yml
35 lines (30 loc) · 982 Bytes
/
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
# environment:
# nodejs_version: "8.8.1"
branches:
only:
- devel
platform:
- x64
install:
- ps: $env:APP_VERSION = (Get-Content -Raw -Path package.json | ConvertFrom-Json).version
- choco install nodejs.install --version 8.8.1
# - ps: Install-Product node $env:nodejs_version $env:platform
# Install build tools
- npm install --global --production windows-build-tools
# Download Meteor
- choco install meteor --params "'/RELEASE:1.4.4.4'"
# - ps: Start-FileDownload 'https://s3.amazonaws.com/meteor-windows/InstallMeteor.exe'
# Install meteor
# - .\installMeteor.exe /passive
- refreshenv
# Install modules
- npm install
# Restart
# - ps: Start-Sleep -s 5
# - ps: Restart-Computer -Force
# - ps: Start-Sleep -s 5
build_script:
- echo %platform%
- npm run build:win
on_finish:
- ps: $blockRdp = $true; iex ((new-object net.webclient).DownloadString('https://raw.githubusercontent.com/appveyor/ci/master/scripts/enable-rdp.ps1'))