forked from williamkapke/ipp
-
Notifications
You must be signed in to change notification settings - Fork 1
Expand file tree
/
Copy pathappveyor.yml
More file actions
47 lines (39 loc) · 1.26 KB
/
appveyor.yml
File metadata and controls
47 lines (39 loc) · 1.26 KB
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
################################################################################
# OPEN SOURCE MODULE
# Remove the comment if you changed the build scripts!
################################################################################
version: "{build}"
# # Uncomment to debug via RDP
# init:
# - ps: iex ((new-object net.webclient).DownloadString('https://raw.githubusercontent.com/appveyor/ci/master/scripts/enable-rdp.ps1'))
#
# on_finish:
# - ps: $blockRdp = $true; iex ((new-object net.webclient).DownloadString('https://raw.githubusercontent.com/appveyor/ci/master/scripts/enable-rdp.ps1'))
image: Visual Studio 2017
environment:
NODE_VERSION: 8.9.4
CONSUL_VERSION: 0.7.5
TLS_UNPROTECTED: world
services:
- mongodb
install:
# Install Node.js
- ps: Install-Product node $env:NODE_VERSION x64
# Install Consul
- ps: |
choco install --no-progress -y consul -version $env:CONSUL_VERSION
@{
bind_addr="127.0.0.1"
bootstrap_expect=1
ports=@{
dns=53
http=8500
}
server=$True
} | ConvertTo-Json | Out-File -Filepath C:\ProgramData\consul\config\config.json -Encoding ascii
Restart-Service consul
# Install dependencies
- npm install
build: off
test_script:
- npm run bot