Skip to content

Commit

Permalink
simplify appveyor.yml file
Browse files Browse the repository at this point in the history
Also adds a few details that make things go faster
  • Loading branch information
isaacs committed Dec 31, 2015
1 parent 87d792a commit 2df859c
Showing 1 changed file with 15 additions and 28 deletions.
43 changes: 15 additions & 28 deletions appveyor.yml
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

0 comments on commit 2df859c

Please sign in to comment.