forked from felixrieseberg/xplat
-
Notifications
You must be signed in to change notification settings - Fork 0
/
appveyor.yml
49 lines (39 loc) · 1.05 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
46
47
48
49
# http://www.appveyor.com/docs/appveyor-yml
# Fix line endings in Windows. (runs before repo cloning)
init:
- git config --global core.autocrlf true
clone_depth: 1
# Test against these versions of Node.js.
environment:
matrix:
- nodejs_version: "0.12"
cache:
- bower_components
- node_modules
branches:
only:
- master
# Install scripts. (runs after repo cloning)
install:
# hide python so node-gyp won't try to build native extentions
- rename C:\Python27 Python27hidden
# Typical npm stuff.
- md C:\nc
- npm version
- npm config set cache C:\nc
- npm install -g bower
- npm install -g grunt-cli
- npm install --no-optional --no-bin-links
- bower install
# Testing is currently disabled, because AppVeyor isn't fast enough
test: off
# Build scripts.
build_script:
# Output useful info for debugging.
- npm version
- grunt createWinDevBuild
# Currently no test: Ember-Electron has trouble on Windows
deploy_script:
- grunt deployWinDevBuild
# Set build version format here instead of in the admin panel.
version: "{build}"