Skip to content

Commit 2c432e4

Browse files
committed
Add CI step: mdv markdown validation
1 parent ee8dad5 commit 2c432e4

File tree

4 files changed

+42
-0
lines changed

4 files changed

+42
-0
lines changed

.gitignore

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,7 @@
11
# MAC OS
22

33
.DS_Store
4+
5+
# Node.js (for CI testing)
6+
7+
node_modules/

.travis.yml

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,6 @@
1+
language: node_js
2+
node_js:
3+
- "6"
4+
script:
5+
- npm test
6+

README.md

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,6 @@
11
# The RESTful API Modeling Language (RAML) Spec
22

3+
[![Build Status](https://travis-ci.org/raml-org/raml-spec.svg?branch=master)](https://travis-ci.org/raml-org/raml-spec)
34
[![Gitter](https://img.shields.io/gitter/room/nwjs/nw.js.svg?maxAge=2592000)](https://gitter.im/raml-org/raml-spec)
45

56
**The current version of the RAML specification is 1.0 - and you can find it [here](https://github.com/raml-org/raml-spec/blob/master/versions/raml-10/raml-10.md).**

package.json

Lines changed: 31 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,31 @@
1+
{
2+
"name": "raml-spec",
3+
"version": "1.0.0",
4+
"description": "RESTful API Modeling Language",
5+
"main": "index.js",
6+
"scripts": {
7+
"test": "node node_modules/mdv/testRunner README.md versions"
8+
},
9+
"repository": {
10+
"type": "git",
11+
"url": "git+https://github.com/raml-spec/raml-spec.git"
12+
},
13+
"keywords": [
14+
"raml",
15+
"rest",
16+
"restful",
17+
"api",
18+
"modeling",
19+
"language"
20+
],
21+
"author": "http://raml.org/",
22+
"license": "Apache-2.0",
23+
"bugs": {
24+
"url": "https://github.com/raml-spec/raml-spec/issues"
25+
},
26+
"homepage": "https://github.com/raml-spec/raml-spec#readme",
27+
"dependencies": {
28+
"mdv": "^1.0.6",
29+
"node-readfiles": "^0.2.0"
30+
}
31+
}

0 commit comments

Comments
 (0)