Skip to content

Commit

Permalink
[setup] update travis and add appveyor
Browse files Browse the repository at this point in the history
  • Loading branch information
Simon Mollweide committed Nov 29, 2016
1 parent f1c202b commit 5d268a9
Show file tree
Hide file tree
Showing 2 changed files with 34 additions and 2 deletions.
9 changes: 7 additions & 2 deletions .travis.yml
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"
27 changes: 27 additions & 0 deletions appveyor.yml
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

0 comments on commit 5d268a9

Please sign in to comment.