-
Notifications
You must be signed in to change notification settings - Fork 5
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
[setup] update travis and add appveyor
- Loading branch information
Simon Mollweide
committed
Nov 29, 2016
1 parent
f1c202b
commit 5d268a9
Showing
2 changed files
with
34 additions
and
2 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,4 +1,9 @@ | ||
language: node_js | ||
before_script: | ||
- npm install eslint eslint-plugin-import | ||
script: | ||
- npm test | ||
node_js: | ||
- "5.5" | ||
- "4.4.6" | ||
- "6" | ||
- "5" | ||
- "4" |
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,27 @@ | ||
# appveyor file | ||
# http://www.appveyor.com/docs/appveyor-yml | ||
|
||
environment: | ||
matrix: | ||
- nodejs_version: 4 | ||
- nodejs_version: 5 | ||
- nodejs_version: 6 | ||
|
||
version: "{build}" | ||
build: off | ||
deploy: off | ||
matrix: | ||
fast_finish: true | ||
|
||
install: | ||
- ps: Install-Product node $env:nodejs_version | ||
- npm --version | ||
- npm -g install npm@3 | ||
- set PATH=%APPDATA%\npm;%PATH% | ||
- npm install eslint eslint-plugin-import | ||
- npm install --ignore-scripts --force | ||
|
||
test_script: | ||
- node --version | ||
- npm --version | ||
- npm test |