Skip to content
Permalink
Browse files

ci: Add job to build and test docs

This commit switches our Travis CI builds over to a matrix build system.
In addition to performing the standard unit test suite for NodeJS, it
will also kick up a VM to build and test our docs. This is a fairly
lightweight way to guarantee that our docs are building.

Also, you will notice this commit is failing! That is expected. The
`recommonmark` dependency was not added in #215, but it was added in
PR #217. Once that PR merges, this CI test will pass again.

Signed-off-by: Justin W. Flory <git@jwf.io>
  • Loading branch information...
jwflory committed Nov 4, 2019
1 parent b66e357 commit 374891820cfae8780b127dfe10f0c56a7624e33c
Showing with 24 additions and 19 deletions.
  1. +24 −19 .travis.yml
  2. 0 docs/{test-docs.sh → build_docs.sh}
@@ -1,25 +1,30 @@
dist: xenial
sudo: false
language: node_js
node_js:
- 8
- 10
jobs:
include:
- language: node_js
node_js:
- 8
- 10
cache:
npm: false
yarn: false

cache:
npm: false
yarn: false
addons:
apt:
update: true
packages:
- libicu-dev

addons:
apt:
update: true
packages:
- libicu-dev
before_install: cp env.example .env
install:
- yarn
- yarn global add nodeunit
script: yarn test

before_install: cp env.example .env
install:
- yarn
- yarn global add nodeunit
script: yarn test
- language: python
python: 3.7
before_install: cd docs/
install: pipenv install --dev
script: sh build_docs.sh

notifications:
irc:
File renamed without changes.

0 comments on commit 3748918

Please sign in to comment.
You can’t perform that action at this time.