Skip to content

Commit 8621714

Browse files
committed
Only generate docs on Linux builds
1 parent aa6a3cf commit 8621714

File tree

1 file changed

+4
-1
lines changed

1 file changed

+4
-1
lines changed

.travis.yml

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -28,6 +28,7 @@ matrix:
2828
env:
2929
- TRAVIS_PYTHON_VERSION=3.7
3030
- PYTEST_ADDOPTS=--doctest-modules
31+
- TRAVIS_GENERATE_DOCS=true
3132
services: docker
3233
before_install:
3334
- docker run -p 19997:19997 --name vrep_rfl -d gramaziokohler/vrep-rfl
@@ -53,4 +54,6 @@ script:
5354
- python -c "import compas_fab.robots"
5455
- python -c "import compas_fab.utilities"
5556
- pytest
56-
- invoke docs
57+
- if [[ "$TRAVIS_GENERATE_DOCS" == "true" ]]; then
58+
invoke docs;
59+
fi

0 commit comments

Comments
 (0)