diff --git a/appveyor.yml b/appveyor.yml new file mode 100644 index 0000000..d3d1d1f --- /dev/null +++ b/appveyor.yml @@ -0,0 +1,29 @@ +# appveyor file +# http://www.appveyor.com/docs/appveyor-yml + +# branches to build +branches: + # whitelist + only: + - master + +# build version format +version: "{build}" + +# what combinations to test +environment: + matrix: + - nodejs_version: 0.10 + +# Get the latest stable version of Node 0.STABLE.latest +install: + - ps: Update-NodeJsInstallation (Get-NodeJsLatestBuild $env:nodejs_version) + - npm install + +build: off + +test_script: + - node --version + - npm --version + - ps: npm test + - cmd: npm test \ No newline at end of file diff --git a/readme.md b/readme.md index 5723555..389ca3c 100644 --- a/readme.md +++ b/readme.md @@ -1,13 +1,13 @@ # nets -Travis | Browsers (WIP) ------------- | -------------- -[![Travis](http://img.shields.io/travis/maxogden/nets.svg?style=flat)](https://travis-ci.org/maxogden/nets) | [![testling badge](https://ci.testling.com/maxogden/nets.png)](https://ci.testling.com/maxogden/nets) +Mac/Linux | Windows | Browsers +------------ | -------------- | -------------- +[![Travis](http://img.shields.io/travis/maxogden/nets.svg?style=flat)](https://travis-ci.org/maxogden/nets) | [![Build status](http://ci.appveyor.com/api/projects/status/vo5hdm5sdwaf7ss2)](https://ci.appveyor.com/project/maxogden/nets) | [![testling badge](https://ci.testling.com/maxogden/nets.png)](https://ci.testling.com/maxogden/nets) nothin but nets. http client that works in node and browsers -uses https://www.npmjs.org/package/request for browsers and https://www.npmjs.org/package/request for node +uses [xhr](https://www.npmjs.org/package/xhr) for browsers and [request](https://www.npmjs.org/package/request) for node ```js