Skip to content

Commit a2aee3c

Browse files
committed
add appveyor
1 parent 69218d0 commit a2aee3c

2 files changed

Lines changed: 39 additions & 0 deletions

File tree

README.md

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,7 @@
11
# Ember CLI HTMLBars
22

33
[![Build Status](https://travis-ci.org/ember-cli/ember-cli-htmlbars.svg?branch=master)](https://travis-ci.org/ember-cli/ember-cli-htmlbars)
4+
[![Build status](https://ci.appveyor.com/api/projects/status/b5njc8lsjce76mv6/branch/master?svg=true)](https://ci.appveyor.com/project/embercli/ember-cli-htmlbars/branch/master)
45

56
### Handlebars 2.0 Support
67

appveyor.yml

Lines changed: 38 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,38 @@
1+
# https://www.appveyor.com/docs/appveyor-yml/
2+
3+
# Test against these versions of Node.js.
4+
environment:
5+
MOCHA_REPORTER: "mocha-appveyor-reporter"
6+
matrix:
7+
- nodejs_version: "4"
8+
- nodejs_version: "6"
9+
- nodejs_version: "7"
10+
11+
branches:
12+
only:
13+
- master
14+
- beta
15+
- release
16+
17+
# Install scripts. (runs after repo cloning)
18+
install:
19+
- ps: Install-Product node $env:nodejs_version
20+
- appveyor-retry npm i -g npm@^3
21+
- appveyor-retry yarn
22+
- appveyor-retry yarn add mocha-appveyor-reporter # must be installed locally.
23+
24+
cache:
25+
- '%LOCALAPPDATA%\Yarn'
26+
- '%APPDATA%\Roaming\bower'
27+
28+
# Post-install test scripts.
29+
test_script:
30+
# Output useful info for debugging.
31+
- git rev-parse HEAD
32+
- cmd: yarn run test
33+
34+
# Don't actually build.
35+
build: off
36+
37+
# Set build version format here instead of in the admin panel.
38+
version: "{build}"

0 commit comments

Comments
 (0)