-
Notifications
You must be signed in to change notification settings - Fork 4
/
appveyor.yml
45 lines (34 loc) · 1.08 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
# scripts that are called at very beginning, before repo cloning
init:
- git config --global core.autocrlf input
# set clone depth, clone entire repository history if not defined
clone_depth: 1
# build version
version: "{build}"
# clone directory
clone_folder: c:\projects\npm-slice2js
# NodeJS versions to test
environment:
matrix:
- nodejs_version: "10"
APPVEYOR_BUILD_WORKER_IMAGE: Visual Studio 2015
- nodejs_version: "12"
APPVEYOR_BUILD_WORKER_IMAGE: Visual Studio 2015
- nodejs_version: "10"
APPVEYOR_BUILD_WORKER_IMAGE: Visual Studio 2017
- nodejs_version: "12"
APPVEYOR_BUILD_WORKER_IMAGE: Visual Studio 2017
install:
- git submodule update --init --recursive
- ps: Install-Product node $env:nodejs_version
- node --version
- npm --version
- npm install
build: off
test_script:
- npm test
notifications:
- provider: Slack
auth_token:
secure: L9I+bbHT46GkooHwElptGZuhEOcoE3D8DQw5nzbqQUQfeEApXHGFiGLwT5gCn36vMjjE3LlpuAGc7mQbH8Dy3YzrK+4058CWN8OKSRtGjeY=
channel: '#builds'