forked from appveyor/website
-
Notifications
You must be signed in to change notification settings - Fork 0
/
appveyor.yml
66 lines (54 loc) · 1.56 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
59
60
61
62
63
64
65
66
version: 1.0.{build}
clone_depth: 10
environment:
matrix:
- ruby_folder_version: "23"
platform: "x86"
init:
- ps: if ($env:appveyor_repo_branch -ne 'master') { $env:non_master = 'true' }
install:
- SET "PATH=C:\Ruby%ruby_folder_version%\bin;%PATH%"
- bundle install --retry 3 --jobs=%NUMBER_OF_PROCESSORS% --clean --path vendor\bundle
- ps: Install-Product node "6" $env:platform
- npm config set spin false
- npm install
build: off
test_script:
- ruby -v
- gem -v
- bundle -v
- node -v
- npm -v
- java -version
- npm test
matrix:
fast_finish: true
cache:
- 'vendor -> appveyor.yml,Gemfile,Gemfile.lock'
- 'node_modules -> appveyor.yml,npm-shrinkwrap.json,package.json'
deploy:
- provider: WebDeploy
server: https://appveyor-staging.scm.azurewebsites.net:443/MsDeploy.axd?site=appveyor-staging
website: appveyor-staging
username: $appveyor-staging
password:
secure: rblAkMA2sadykufv7pJYJacKbluycPc5xkhTP3E5J8KkXrjvV0gQQ9SF0IXvuLfZVQv6IBHrFIAbmmIA72mhJg==
remove_files: true
do_not_use_checksum: false
skip_dirs: '\\Downloads;\\App_Data'
on:
non_master: true
- provider: WebDeploy
server: https://appveyor.scm.azurewebsites.net:443/MsDeploy.axd?site=appveyor
website: appveyor
username: $appveyor
password:
secure: pL+ugVnAjgM8JxucKetLmTuqS+ikdzREwXXamzn0+jbuxT7+/DjyX/lTVgOr6Qh7nmlE61mFlDb+cLipnWiamw==
remove_files: true
do_not_use_checksum: false
skip_dirs: '\\Downloads;\\App_Data'
on:
branch: master
artifacts:
- path: _site/
name: site