forked from Mermade/oas-kit
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy path.travis.yml
19 lines (19 loc) · 936 Bytes
/
.travis.yml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
language: node_js
node_js:
- "10"
- "8"
- "6"
before_script:
- . ./bin/setflags.sh
# - 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
- node node_modules/.bin/lerna bootstrap --no-ci
script:
- node node_modules/.bin/mocha $nflags
- node node_modules/.bin/eslint packages/*/*.js
# - travis_wait node $nflags packages/swagger2openapi/oas-validate -q -l openapi-directory/APIs/
# - travis_wait node $nflags packages/swagger2openapi/oas-validate -q openapi-definitions/
# - travis_wait node $nflags packages/swagger2openapi/oas-validate -q -n openapi3-examples/pass
# - travis_wait node $nflags packages/swagger2openapi/oas-validate -q -r -n -f openapi3-examples/fail bin
- node $nflags packages/swagger2openapi/oas-validate -q -r test/s2o-test