-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathappveyor.yml
51 lines (36 loc) · 923 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
41
42
43
44
45
46
47
48
49
50
51
# environment
environment:
nodejs_version: "5"
NODE_ENV: test
DEBUG: false
# coverage
COVERALLS_GIT_BRANCH: '$(APPVEYOR_REPO_BRANCH)'
COVERALLS_REPO_TOKEN:
secure: A4pLKkuAQJBB+kE/zmeyILeckEspbYZADxDvnBLbaG+mbkEzjs12rp1rdce+6LM2
# general
version: 1.0.{build}
skip_tags: true
cache:
- C:\Users\appveyor\AppData\Roaming\npm\node_modules -> package.json # global npm modules
- C:\Users\appveyor\AppData\Roaming\npm-cache -> package.json # npm cache
- node_modules -> package.json
- app\bower_components -> bower.json
platform:
- x64
# build
build: off
install:
- cmd: npm install
- cmd: npm install -g gulp
- cmd: npm install -g bower
- cmd: bower install
init:
- ps: $env:IS_PR = (-not (-not ($env:APPVEYOR_PULL_REQUEST_NUMBER)))
# tests
test_script:
- cmd: gulp ci-build
on_success:
- ps: >-
if($env:IS_PR -eq 'False') {
gulp coveralls
}