Make Travis also build the doc

This commit is contained in:
Éric Lemoine
2012-09-27 18:00:51 +02:00
parent 676a95efd8
commit a0f747379b
2 changed files with 3 additions and 2 deletions

View File

@@ -1,9 +1,10 @@
before_install:
- "sudo pip install http://closure-linter.googlecode.com/files/closure_linter-latest.tar.gz"
- "git clone https://github.com/jsdoc3/jsdoc"
before_script:
- "make plovr"
- "make serve &"
- "sleep 3"
script: "make precommit"
script: "make JSDOC=jsdoc/jsdoc precommit"

View File

@@ -12,7 +12,7 @@ space := $(empty) $(empty)
all: build-all build demos
.PHONY: precommit
precommit: lint build-all test build
precommit: lint build-all doc test build
.PHONY: build
build: build/ol.js