Add appveyor and badges
parent
c15e6c7b79
commit
063fac633c
|
@ -1,6 +1,8 @@
|
|||
language: node_js
|
||||
node_js:
|
||||
- "lts/*"
|
||||
- "9"
|
||||
- "8"
|
||||
- "6"
|
||||
cache:
|
||||
directories:
|
||||
- "node_modules"
|
||||
|
|
|
@ -1,6 +1,9 @@
|
|||
# flow2avro
|
||||
|
||||
[![Build Status](https://travis-ci.org/loyd/flow2avro.svg?branch=master)](https://travis-ci.org/loyd/flow2avro)
|
||||
[![Version npm](https://img.shields.io/npm/v/flow2avro.svg)](https://www.npmjs.com/package/flow2avro)
|
||||
[![Linux Build](https://travis-ci.org/loyd/flow2avro.svg?branch=master)](https://travis-ci.org/loyd/flow2avro)
|
||||
[![Windows Build](https://ci.appveyor.com/api/projects/status/github/loyd/flow2avro?branch=master&svg=true)](https://ci.appveyor.com/project/loyd/flow2avro)
|
||||
[![Coverage Status](https://coveralls.io/repos/github/loyd/flow2avro/badge.svg?branch=master)](https://coveralls.io/r/loyd/flow2avro?branch=master)
|
||||
|
||||
## Example
|
||||
|
||||
|
@ -30,8 +33,8 @@ Output:
|
|||
{ name: 'baz', type: { type: 'enum', symbols: [ 'one', 'two' ] } },
|
||||
{ name: 'mix', type: [
|
||||
'double',
|
||||
{ type: 'enum', symbols: [ 'one', 'two' ] }
|
||||
] }
|
||||
{ type: 'enum', symbols: [ 'one', 'two' ] },
|
||||
] },
|
||||
],
|
||||
]
|
||||
```
|
||||
|
|
|
@ -0,0 +1,17 @@
|
|||
environment:
|
||||
matrix:
|
||||
- nodejs_version: '9'
|
||||
- nodejs_version: '8'
|
||||
- nodejs_version: '6'
|
||||
matrix:
|
||||
fast_finish: true
|
||||
install:
|
||||
- ps: Install-Product node $env:nodejs_version
|
||||
- npm install
|
||||
test_script:
|
||||
- node --version
|
||||
- npm --version
|
||||
- npm test
|
||||
cache:
|
||||
- node_modules
|
||||
build: off
|
|
@ -30,6 +30,6 @@
|
|||
"jsondiffpatch": "^0.2.5"
|
||||
},
|
||||
"scripts": {
|
||||
"test": "tests/do"
|
||||
"test": "node tests/do"
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue