← Back to team overview

widelands-dev team mailing list archive

[Merge] lp:~widelands-dev/widelands/sphinx_1_8_1 into lp:widelands

 

GunChleoc has proposed merging lp:~widelands-dev/widelands/sphinx_1_8_1 into lp:widelands.

Commit message:
Add Sphinx to Travis test runs again.

Requested reviews:
  Widelands Developers (widelands-dev)

For more details, see:
https://code.launchpad.net/~widelands-dev/widelands/sphinx_1_8_1/+merge/355531

Sphinx 1.8.1. has been released - let's see whether Travis has picked it up
-- 
Your team Widelands Developers is requested to review the proposed merge of lp:~widelands-dev/widelands/sphinx_1_8_1 into lp:widelands.
=== modified file '.travis.sh'
--- .travis.sh	2018-09-13 05:01:54 +0000
+++ .travis.sh	2018-09-24 10:25:39 +0000
@@ -30,18 +30,17 @@
 if [ "$BUILD_TYPE" == "Debug" ]; then
 
    # Build the documentation. Any warning is an error.
-   # TODO: GunChleoc: Currently broken
-   #if [[ "$TRAVIS_OS_NAME" == "linux" ]]; then
-   #  sudo pip install sphinx
-   #fi
-   #if [[ "$TRAVIS_OS_NAME" == "osx" ]]; then
-   #  pip2 install sphinx
-   #fi
-   #pushd ../doc/sphinx
-   #mkdir source/_static
-   #./extract_rst.py
-   #sphinx-build -W -b json -d build/doctrees source build/json
-   #popd
+   if [[ "$TRAVIS_OS_NAME" == "linux" ]]; then
+     sudo pip install sphinx
+   fi
+   if [[ "$TRAVIS_OS_NAME" == "osx" ]]; then
+     pip2 install sphinx
+   fi
+   pushd ../doc/sphinx
+   mkdir source/_static
+   ./extract_rst.py
+   sphinx-build -W -b json -d build/doctrees source build/json
+   popd
 
    # Run the codecheck test suite.
    pushd ../cmake/codecheck


Follow ups