forked from mgechev/angular-seed
-
Notifications
You must be signed in to change notification settings - Fork 0
/
appveyor.yml
44 lines (34 loc) · 1.19 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
# AppVeyor file
# http://www.appveyor.com/docs/appveyor-yml
# This file: cloned from https://github.com/gruntjs/grunt/blob/master/appveyor.yml
# Build version format
version: "{build}"
# Test against this version of Node.js
environment:
nodejs_version: "4.1.0"
# https://github.com/DefinitelyTyped/tsd#tsdrc
# Token has no scope (read-only access to public information)
TSD_GITHUB_TOKEN: "9b18c72997769f3867ef2ec470e626d39661795d"
build: off
clone_depth: 10
# Fix line endings on Windows
init:
- git config --global core.autocrlf true
install:
- ps: Install-Product node $env:nodejs_version
- npm install -g npm
- ps: $env:path = $env:appdata + "\npm;" + $env:path
- npm install
test_script:
# Output useful info for debugging.
- node --version && npm --version
# We test multiple Windows shells because of prior stdout buffering issues
# filed against Grunt. https://github.com/joyent/node/issues/3584
- ps: "npm --version # PowerShell" # Pass comment to PS for easier debugging
- npm test
notifications:
- provider: Webhook
url: https://webhooks.gitter.im/e/cfd8ce5ddee6f3a0b0c9
on_build_success: false
on_build_failure: true
on_build_status_changed: true