diff --git a/.travis.yml b/.travis.yml index 1efbc70..c02d0d2 100644 --- a/.travis.yml +++ b/.travis.yml @@ -6,9 +6,10 @@ os: env: matrix: - - NODE_VERSION="iojs-1.3" # v43 - # - NODE_VERSION="iojs-1.2" # same as 1.3 - # - NODE_VERSION="iojs-1.1" same as 1.3 + - NODE_VERSION="iojs-1.4" # v43 + # - NODE_VERSION="iojs-1.3" # same as 1.4 + # - NODE_VERSION="iojs-1.2" # same as 1.4 + # - NODE_VERSION="iojs-1.1" same as 1.4 - NODE_VERSION="iojs-1.0" # v42 - NODE_VERSION="0.12" # v14 - NODE_VERSION="0.11.16" diff --git a/README.md b/README.md index cd81fda..8d25b93 100644 --- a/README.md +++ b/README.md @@ -3,6 +3,7 @@ node-murmurhash [![NPM version][npm-image]][npm-url] [![build status][travis-image]][travis-url] +[![appveyor build status][appveyor-image]][appveyor-url] [![Test coverage][coveralls-image]][coveralls-url] [![Gittip][gittip-image]][gittip-url] [![David deps][david-image]][david-url] @@ -13,6 +14,8 @@ node-murmurhash [npm-url]: https://npmjs.org/package/node-murmurhash [travis-image]: https://img.shields.io/travis/node-modules/node-murmurhash.svg?style=flat-square [travis-url]: https://travis-ci.org/node-modules/node-murmurhash +[appveyor-image]: https://ci.appveyor.com/api/projects/status/y4xkcvpkm7ghnu8q?svg=true +[appveyor-url]: https://ci.appveyor.com/project/fengmk2/node-murmurhash [coveralls-image]: https://img.shields.io/coveralls/node-modules/node-murmurhash.svg?style=flat-square [coveralls-url]: https://coveralls.io/r/node-modules/node-murmurhash?branch=master [gittip-image]: https://img.shields.io/gittip/fengmk2.svg?style=flat-square diff --git a/appveyor.yml b/appveyor.yml index ad5ee3c..27b38c4 100644 --- a/appveyor.yml +++ b/appveyor.yml @@ -4,11 +4,11 @@ environment: node_pre_gyp_qn_secretAccessKey: secure: 32tbTZ5nzLD3XeP32imF28QLaUiS7rRsuskckvk93YptYeeYm2tv7oxRyfcKqfoR matrix: - - nodejs_version: 1.2.0 + - nodejs_version: 1.2 msvs_toolset: 12 - - nodejs_version: 1.0.4 + - nodejs_version: 1.0 msvs_toolset: 12 - - nodejs_version: 0.12.0 + - nodejs_version: 0.12 msvs_toolset: 12 - nodejs_version: 0.11.16 msvs_toolset: 12 @@ -16,38 +16,26 @@ environment: msvs_toolset: 12 - nodejs_version: 0.11.13 msvs_toolset: 12 - - nodejs_version: 0.10.36 + - nodejs_version: 0.10 msvs_toolset: 12 platform: - x64 - x86 -os: Visual Studio 2014 CTP4 - install: # add local node to path (since we install it for msvs_toolset == 14) - SET PATH=%CD%;%PATH%; # add local node-pre-gyp dir to path - SET PATH=node_modules\.bin;%PATH% - # use 64 bit python if platform is 64 bit - - if "%platform%" == "x64" set PATH=C:\Python27-x64;%PATH% - - if %platform% == x64 (SET ARCH=x64) # install node version per visual studio toolset - powershell Install-Product node $env:nodejs_version $env:platform - node -v - npm -v - # https://github.com/mapbox/node-sqlite3/blob/master/appveyor.yml - - SET PATH=C:\Program Files (x86)\MSBuild\%msvs_toolset%.0\bin;%PATH% - - SET PATH=C:\Program Files (x86)\Microsoft Visual Studio %msvs_toolset%.0\VC\bin;%PATH% - - if %platform% == x64 CALL "C:\Program Files (x86)\Microsoft Visual Studio %msvs_toolset%.0\VC\vcvarsall.bat" amd64 - - if %platform% == x86 CALL "C:\Program Files (x86)\Microsoft Visual Studio %msvs_toolset%.0\VC\vcvarsall.bat" amd64_x86 - # http://cylonjs.com/blog/2014/11/19/creating-multiplatform-precompiled-binaries-for-node-modules/ - # Make sure to use to pass --msvs_version=2013 to the npm install command - # otherwise some bindings and libraries might now be available, an error will - npm install node-gyp-install + - set NVM_NODEJS_ORG_MIRROR=https://nodejs.org/dist - node-gyp-install - - npm install --build-from-source --msvs_version=2013 + - npm install --build-from-source - npm test # make commit message env var shorter - SET CM=%APPVEYOR_REPO_COMMIT_MESSAGE%