forked from oyyd/wasm-opencc
-
Notifications
You must be signed in to change notification settings - Fork 0
/
appveyor.yml
40 lines (34 loc) · 957 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
36
37
38
39
40
version: "{build}"
skip_branch_with_pr: true
skip_tags: true
build: off
environment:
matrix:
- nodejs_version: stable
- nodejs_version: 7
- nodejs_version: 6
- nodejs_version: 5
platform:
- x64
- x86
# Install scripts. (runs after repo cloning)
install:
# install Node.js
- ps: Install-Product node $env:nodejs_version $env:platform
# Get the latest stable version of npm
- npm -g i npm@latest
# install modules
- appveyor-retry call npm install --build-from-source
# to run your custom scripts instead of automatic tests
test_script:
- IF %nodejs_version%==stable cmake -H. -Bbuild -G"Visual Studio 12"
- IF %nodejs_version%==stable cmake --build build --config Release --target install
- npm test
# pushing entire folder as a zip archive
artifacts:
- path: build/src/tools/Release
name: OpenCC
type: zip
# to run your custom scripts instead of provider deployments
deploy_script:
- npm run deploy