forked from ember-cli/ember-cli-update
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathappveyor.yml
42 lines (35 loc) · 865 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
environment:
matrix:
- nodejs_version: "4"
- nodejs_version: ""
branches:
only:
- master
- /^greenkeeper\/.*$/
matrix:
allow_failures:
- nodejs_version: "4"
# Fix line endings in Windows. (runs before repo cloning)
init:
- git config --global core.autocrlf true
# Install scripts. (runs after repo cloning)
install:
- ps: Install-Product node $env:nodejs_version
- npm config set spin false
- ps: >-
if ($env:nodejs_version -eq "4") {
npm install -g npm
[Environment]::SetEnvironmentVariable("NODE_LTS", "true", "User")
}
- RefreshEnv
- npm install
# Post-install test scripts.
test_script:
- node --version
- npm --version
- npm run test:both
# http://help.appveyor.com/discussions/questions/1310-delete-cache
cache:
- node_modules -> package.json
# Don't actually build.
build: off