Skip to content

Commit

Permalink
appveyor: initial test configuration
Browse files Browse the repository at this point in the history
  • Loading branch information
JLHwung committed Jan 1, 2017
1 parent e429094 commit 41daa7d
Show file tree
Hide file tree
Showing 2 changed files with 39 additions and 0 deletions.
3 changes: 3 additions & 0 deletions .npmignore
Original file line number Diff line number Diff line change
Expand Up @@ -42,3 +42,6 @@ jspm_packages
# src and test
/src/
/test/

# appveyor config
/appveyor.yml
36 changes: 36 additions & 0 deletions appveyor.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,36 @@
# Fix line endings in Windows. (runs before repo cloning)
init:
- git config --global core.autocrlf input

# Test against these versions of Node.js.
environment:
matrix:
- nodejs_version: "4"
- nodejs_version: "6"
- nodejs_version: "7"

matrix:
fast_finish: true

# Install scripts. (runs after repo cloning)
install:
- ps: Install-Product node $env:nodejs_version
- npm install -g npm
- npm install

cache:
- node_modules -> package.json

# Post-install test scripts.
test_script:
# Output useful info for debugging.
- node --version
- npm --version
# Run tests
- npm test

# Don't actually build.
build: off

# Set build version format here instead of in the admin panel.
version: "{build}"

0 comments on commit 41daa7d

Please sign in to comment.