language: node_js
node_js:
  - "8"
  - "6"
  - "4"
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/SOM-Research/hapi.git
  - git clone --depth 1 https://github.com/mermade/openapi3-examples.git
  - . ./bin/setflags.sh
script:
  - travis_wait node $nflags testRunner -q -l openapi-directory/APIs/
  - travis_wait node $nflags testRunner -q openapi-definitions/
#  - travis_wait node $nflags testRunner -q hapi/APIs/
  - travis_wait node $nflags testRunner -q -n openapi3-examples/pass
  - travis_wait node $nflags testRunner -q -r -n -f openapi3-examples/fail
  - node node_modules/.bin/mocha $nflags
  - node $nflags testRunner -q -r test/

language: node_js
node_js:
  - "8"
  - "6"
  - "4"
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/SOM-Research/hapi.git
  - git clone --depth 1 https://github.com/mermade/openapi3-examples.git
  - . ./bin/setflags.sh
script:
  - travis_wait node $nflags testRunner -q -l openapi-directory/APIs/
  - travis_wait node $nflags testRunner -q openapi-definitions/
#  - travis_wait node $nflags testRunner -q hapi/APIs/
  - travis_wait node $nflags testRunner -q -n openapi3-examples/pass
  - travis_wait node $nflags testRunner -q -r -n -f openapi3-examples/fail
  - node node_modules/.bin/mocha $nflags
#  - node $nflags testRunner -q -r test/

Disable testRunner of tests for now
Disable testRunner of tests for now

As we have a deliberately failing case
