-
Notifications
You must be signed in to change notification settings - Fork 8
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
appveyor: initial test configuration
- Loading branch information
Showing
2 changed files
with
39 additions
and
0 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 |
---|---|---|
|
@@ -42,3 +42,6 @@ jspm_packages | |
# src and test | ||
/src/ | ||
/test/ | ||
|
||
# appveyor config | ||
/appveyor.yml |
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 |
---|---|---|
@@ -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}" |