build: build docs on Travis

PR-URL: https://github.com/nodejs/node/pull/29783
Reviewed-By: Ruben Bridgewater <ruben@bridgewater.de>
Reviewed-By: Rich Trott <rtrott@gmail.com>
Reviewed-By: Trivikram Kamat <trivikr.dev@gmail.com>
pull/29787/head
Richard Lau 2019-09-30 13:14:18 -04:00 committed by Rich Trott
parent a57da278f8
commit b5e40ba068
1 changed files with 2 additions and 2 deletions

View File

@ -74,14 +74,14 @@ jobs:
- make -j1 V=1 test/addons/.buildstamp test/js-native-api/.buildstamp test/node-api/.buildstamp
- python tools/test.py -j 2 -p dots --report --mode=release --flaky-tests=dontcare addons js-native-api node-api
- name: "Linter"
- name: "Run Linter and Build Docs"
language: node_js
node_js: "node"
install:
- pyenv global ${PYTHON_VERSION}
- make lint-py-build || true
script:
- NODE=$(which node) make lint lint-py
- NODE=$(which node) make lint-py doc-only lint
- name: "First commit message adheres to guidelines at <a href=\"https://goo.gl/p2fr5Q\">https://goo.gl/p2fr5Q</a>"
if: type = pull_request