forked from deepstreamIO/deepstream.io-storage-mongodb
-
Notifications
You must be signed in to change notification settings - Fork 0
/
appveyor.yml
58 lines (47 loc) · 1.41 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
57
58
environment:
MONGODB_CONNECTION_STRING: mongodb://127.0.0.1
services:
- mongodb
# Do not insert any code under here without making sures it's in publishingtest first
os:
- Visual Studio 2015
platform:
- x64
install:
- ps: Install-Product node 6.9.5
- npm install
test_script:
- node --version
- npm --version
- npm test
- curl -o package.sh -L https://raw.githubusercontent.com/deepstreamIO/deepstream.io-connector-publishingtest/master/scripts/package.sh
- bash package.sh
- For /d %%d in ( build\** ) do MOVE %%d %cd%
artifacts:
- path: 'build\*.zip'
name: 'deepstream.io-connector'
- path: '**\*.zip'
deploy:
- provider: S3
access_key_id:
secure: zIKwOEzh56IXWlpXWMDwjC9Dqz58ZifBBQUZ43wDQWs=
secret_access_key:
secure: br3dL6aFlkMBeqdXSeXfKeZmjyZl1OGD9STaUiGXsWic50DEqedx24C0LipYJqYI
bucket: ds-server-artifacts
folder: $(APPVEYOR_REPO_NAME)
on:
appveyor_repo_tag: false
- provider: GitHub
release: $(APPVEYOR_REPO_TAG_NAME)
description: 'Release description'
auth_token:
secure: tZHuiZVCwkXRYMihVyoNrmDxAm6xPbXyop7Plg5uUWIIqA1EoUCrTYd/V+0D1I+Y
artifact: 'deepstream.io-connector'
draft: false
on:
appveyor_repo_tag: true
after_deploy:
- curl -o test.sh -L https://raw.githubusercontent.com/deepstreamIO/deepstream.io-connector-publishingtest/master/scripts/test.sh
- chmod 555 test.sh
- bash test.sh
build: off