Skip to content

Commit 083b80c

Browse files
authored
Create appveyor.yml
1 parent 8690e84 commit 083b80c

File tree

1 file changed

+42
-0
lines changed

1 file changed

+42
-0
lines changed

appveyor.yml

Lines changed: 42 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,42 @@
1+
version: '{branch}-{build}'
2+
pull_requests:
3+
do_not_increment_build_number: true
4+
branches:
5+
only:
6+
- master
7+
skip_branch_with_pr: true
8+
image: Visual Studio 2017
9+
init:
10+
- ps: Install-Product node $env:nodejs_version
11+
environment:
12+
nodejs_version: 8
13+
install:
14+
- ps: >-
15+
npm install vsce -g
16+
17+
18+
./gradlew clean --no-daemon
19+
cache: C:\Users\appveyor\.gradle
20+
build_script:
21+
- ps: >-
22+
./gradlew build --continue --no-daemon
23+
24+
if ($lastexitcode -ne 0) {
25+
throw ("Exec: " + $errorMessage)
26+
}
27+
28+
cd extension
29+
30+
npm install
31+
32+
vsce package
33+
34+
if ($lastexitcode -eq 0) {
35+
echo $lastexitcode
36+
}
37+
test: off
38+
artifacts:
39+
- path: '**/libs/*'
40+
name: Jars
41+
- path: '**/*.vsix'
42+
name: VSIX

0 commit comments

Comments
 (0)