aboutsummaryrefslogtreecommitdiff
path: root/travis
diff options
context:
space:
mode:
Diffstat (limited to 'travis')
-rwxr-xr-xtravis/build_docs.sh3
-rwxr-xr-xtravis/linux_gcc/before_install.sh3
2 files changed, 5 insertions, 1 deletions
diff --git a/travis/build_docs.sh b/travis/build_docs.sh
index bae779f6..570b03c7 100755
--- a/travis/build_docs.sh
+++ b/travis/build_docs.sh
@@ -3,6 +3,9 @@
cd docs
echo "building docs for $TRAVIS_BUILD_DIR/docs"
docker run -v $TRAVIS_BUILD_DIR:/data -w /data/docs osgeo/proj.4 make html
+# workaround for issue with sphinxcontrib-bibtex
+docker run -v $TRAVIS_BUILD_DIR:/data -w /data/docs osgeo/proj.4 touch source/references.rst
+docker run -v $TRAVIS_BUILD_DIR:/data -w /data/docs osgeo/proj.4 make html
docker run -v $TRAVIS_BUILD_DIR:/data -w /data/docs osgeo/proj.4 make latexpdf
diff --git a/travis/linux_gcc/before_install.sh b/travis/linux_gcc/before_install.sh
index 5e1ee1b8..6946fbd0 100755
--- a/travis/linux_gcc/before_install.sh
+++ b/travis/linux_gcc/before_install.sh
@@ -10,6 +10,7 @@ sudo apt-get install -qq lcov
scripts/cppcheck.sh
+pip install --user sphinxcontrib-bibtex
pip install --user cpp-coveralls
-./travis/docker.sh
+./travis/docker.sh