forked from Mermade/widdershins
-
Notifications
You must be signed in to change notification settings - Fork 0
/
.travis.yml
24 lines (24 loc) · 796 Bytes
/
.travis.yml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
language: node_js
node_js:
- "node"
- "lts/*"
- "10"
install:
- npm i
before_script:
- git clone --depth 1 https://github.com/APIs-guru/openapi-directory.git
- git clone --depth 1 https://github.com/mermade/openapi-definitions.git
- git clone --depth 1 https://github.com/mermade/openapi3-examples.git
# - git clone --depth 1 https://github.com/SOM-Research/hapi.git
- . ./bin/setflags.sh
- mkdir -p out
script:
- npm run lint
- npm test
- node widdershins -o out/petstore.md defs/petstore3.json
- node node_modules/mdv/mdv out/petstore.md
- node $nflags testRunner openapi-directory/APIs/
- node $nflags testRunner openapi-definitions/
- node $nflags testRunner openapi3-examples/pass/
- node $nflags testRunner --resolve defs/
# - node testRunner hapi/APIs/