Skip to content

Commit 2af38af

Browse files
committed
Update Travis: run unit tests, also build Sphinx
1 parent 2be017b commit 2af38af

File tree

2 files changed

+13
-0
lines changed

2 files changed

+13
-0
lines changed

.travis.yml

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -16,6 +16,8 @@ branches:
1616
before_script:
1717
- pip install -U pip setuptools wheel typing
1818
- pip install cwltool cwltest html5lib
19+
- pip install -r requirements.txt
1920

2021
script:
2122
- make RUNNER=cwltool unittest-examples
23+
- make html

Makefile

Lines changed: 11 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -24,7 +24,18 @@ watch:
2424
@echo "Building and watching for changes in the documentation."
2525
sphinx-autobuild --ignore venv . _build/html
2626

27+
## unittest : run unit tests on checking tools.
28+
unittest :
29+
@bin/test_lesson_check.py
30+
31+
#-------------------------------------------------------------------------------
32+
# Include extra commands if available.
33+
#-------------------------------------------------------------------------------
34+
35+
-include commands.mk
36+
2737
# Catch-all target: route all unknown targets to Sphinx using the new
2838
# "make mode" option. $(O) is meant as a shortcut for $(SPHINXOPTS).
2939
%: Makefile
3040
@$(SPHINXBUILD) -M $@ "$(SOURCEDIR)" "$(BUILDDIR)" $(SPHINXOPTS) $(O)
41+

0 commit comments

Comments
 (0)