-
-
Notifications
You must be signed in to change notification settings - Fork 480
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Also adds a few details that make things go faster
- Loading branch information
Showing
1 changed file
with
15 additions
and
28 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,33 +1,20 @@ | ||
# http://www.appveyor.com/docs/appveyor-yml | ||
|
||
# Fix line endings in Windows. (runs before repo cloning) | ||
init: | ||
- git config --global core.autocrlf true | ||
|
||
# Test against these versions of Node.js. | ||
environment: | ||
matrix: | ||
- nodejs_version: "0.10" | ||
- nodejs_version: "0.12" | ||
- nodejs_version: "4.2" | ||
- nodejs_version: "5" | ||
|
||
# Install scripts. (runs after repo cloning) | ||
- nodejs_version: '5' | ||
- nodejs_version: '4' | ||
- nodejs_version: '0.12' | ||
- nodejs_version: '0.10' | ||
install: | ||
- git rev-parse HEAD | ||
- md C:\nc | ||
- npm config set cache C:\nc | ||
- npm version | ||
- ps: Install-Product node :nodejs_version | ||
- set CI=true | ||
- npm -g install npm@latest | ||
- set PATH=%APPDATA%\npm;%PATH% | ||
- npm install | ||
|
||
# Post-install test scripts. | ||
test_script: | ||
# Output useful info for debugging. | ||
- npm version | ||
- cmd: npm run test | ||
|
||
# Don't actually build. | ||
matrix: | ||
fast_finish: true | ||
build: off | ||
|
||
# Set build version format here instead of in the admin panel. | ||
version: "{build}" | ||
version: '{build}' | ||
shallow_clone: true | ||
clone_depth: 1 | ||
test_script: | ||
- npm test |