From 7070a398289fc49084e8bc5f78b43d09c3680b1d Mon Sep 17 00:00:00 2001 From: Popa Adrian Marius Date: Fri, 27 Feb 2015 17:14:46 +0200 Subject: [PATCH 1/5] add appveyor --- appveyor.yml | 35 +++++++++++++++++++++++++++++++++++ 1 file changed, 35 insertions(+) create mode 100644 appveyor.yml diff --git a/appveyor.yml b/appveyor.yml new file mode 100644 index 0000000..3acdb1d --- /dev/null +++ b/appveyor.yml @@ -0,0 +1,35 @@ +# http://www.appveyor.com/docs/appveyor-yml + +# Test against these versions of Io.js and Node.js. +environment: + matrix: + # node.js + - nodejs_version: "0.12" + # io.js + - nodejs_version: "1" + +# Install scripts. (runs after repo cloning) +install: + # Get the latest stable version of Node 0.STABLE.latest + - ps: if($env:nodejs_version -ne "0.8") {Update-NodeJsInstallation (Get-NodeJsLatestBuild $env:nodejs_version)} + - IF NOT %nodejs_version% == 1 npm -g install npm + - IF NOT %nodejs_version% == 1 set PATH=%APPDATA%\npm;%PATH% + # Typical npm stuff. + - npm install + - IF %nodejs_version% == 0.8 node node_modules\node-gyp\bin\node-gyp.js rebuild --directory test + - IF NOT %nodejs_version% == 0.8 npm run rebuild-tests + +# Post-install test scripts. +test_script: + # Output useful info for debugging. + - node --version + - npm --version + # run tests + #- IF NOT %nodejs_version% == 1 npm test + #- IF %nodejs_version% == 1 iojs node_modules\tap\bin\tap.js --gc test\js\*-test.js + +# Don't actually build. +build: off + +# Set build version format here instead of in the admin panel. +version: "{build}" From 6f1a92fd1ef8c9a4ec3fadfe1c698cc2caf9630e Mon Sep 17 00:00:00 2001 From: Popa Adrian Marius Date: Fri, 27 Feb 2015 17:26:00 +0200 Subject: [PATCH 2/5] add appveyor --- appveyor.yml | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/appveyor.yml b/appveyor.yml index 3acdb1d..0e81c0f 100644 --- a/appveyor.yml +++ b/appveyor.yml @@ -16,8 +16,8 @@ install: - IF NOT %nodejs_version% == 1 set PATH=%APPDATA%\npm;%PATH% # Typical npm stuff. - npm install - - IF %nodejs_version% == 0.8 node node_modules\node-gyp\bin\node-gyp.js rebuild --directory test - - IF NOT %nodejs_version% == 0.8 npm run rebuild-tests + #- IF %nodejs_version% == 0.8 node node_modules\node-gyp\bin\node-gyp.js rebuild --directory test + #- IF NOT %nodejs_version% == 0.8 npm run rebuild-tests # Post-install test scripts. test_script: From 5766ac4b103fe4982e57c811f63a472d3ed78f3c Mon Sep 17 00:00:00 2001 From: Popa Marius Adrian Date: Fri, 27 Feb 2015 17:51:44 +0200 Subject: [PATCH 3/5] Update README.md --- README.md | 1 + 1 file changed, 1 insertion(+) diff --git a/README.md b/README.md index 03c2674..3097e30 100644 --- a/README.md +++ b/README.md @@ -4,6 +4,7 @@ C++ NodeJS module to work with Firebird SQL Server. Uses fbclient library and wi [![NPM version][npm-version-image]][npm-url] [![NPM downloads][npm-downloads-image]][npm-url] [![Mozilla License][license-image]][license-url] [![Build Status](https://travis-ci.org/mariuz/node-firebird-libfbclient.svg?branch=master)](https://travis-ci.org/mariuz/node-firebird-libfbclient) +[![Build status](https://ci.appveyor.com/api/projects/status/53qual24r2f089ni?svg=true)](https://ci.appveyor.com/project/mariuz/node-firebird-libfbclient) # Features From a9b5275de99030cadd7ecd595056ab668d9549c0 Mon Sep 17 00:00:00 2001 From: Popa Marius Adrian Date: Fri, 27 Feb 2015 18:41:00 +0200 Subject: [PATCH 4/5] add download stats badges --- README.md | 3 +++ 1 file changed, 3 insertions(+) diff --git a/README.md b/README.md index 3097e30..0d1ab0e 100644 --- a/README.md +++ b/README.md @@ -6,6 +6,9 @@ C++ NodeJS module to work with Firebird SQL Server. Uses fbclient library and wi [![Build Status](https://travis-ci.org/mariuz/node-firebird-libfbclient.svg?branch=master)](https://travis-ci.org/mariuz/node-firebird-libfbclient) [![Build status](https://ci.appveyor.com/api/projects/status/53qual24r2f089ni?svg=true)](https://ci.appveyor.com/project/mariuz/node-firebird-libfbclient) +[![NPM](https://nodei.co/npm/firebird.png?downloads=true&downloadRank=true)](https://nodei.co/npm/nan/) [![NPM](https://nodei.co/npm-dl/firebird.png?months=6&height=3)](https://nodei.co/npm/nan/) + + # Features * Synchronous and Asynchronous methods for connection, query and fetch data From 45d43e55cc293b09cf42295fe8c0bb1e08564493 Mon Sep 17 00:00:00 2001 From: Popa Marius Adrian Date: Fri, 27 Feb 2015 20:37:18 +0200 Subject: [PATCH 5/5] Update README.md --- README.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/README.md b/README.md index 0d1ab0e..ebb978b 100644 --- a/README.md +++ b/README.md @@ -6,7 +6,7 @@ C++ NodeJS module to work with Firebird SQL Server. Uses fbclient library and wi [![Build Status](https://travis-ci.org/mariuz/node-firebird-libfbclient.svg?branch=master)](https://travis-ci.org/mariuz/node-firebird-libfbclient) [![Build status](https://ci.appveyor.com/api/projects/status/53qual24r2f089ni?svg=true)](https://ci.appveyor.com/project/mariuz/node-firebird-libfbclient) -[![NPM](https://nodei.co/npm/firebird.png?downloads=true&downloadRank=true)](https://nodei.co/npm/nan/) [![NPM](https://nodei.co/npm-dl/firebird.png?months=6&height=3)](https://nodei.co/npm/nan/) +[![NPM](https://nodei.co/npm/firebird.png?downloads=true&downloadRank=true)](https://nodei.co/npm/firebird/) [![NPM](https://nodei.co/npm-dl/firebird.png?months=6&height=3)](https://nodei.co/npm/firebird/) # Features