aboutsummaryrefslogtreecommitdiff
path: root/travis
diff options
context:
space:
mode:
authorKristian Evers <kristianevers@gmail.com>2018-06-10 21:50:50 +0200
committerGitHub <noreply@github.com>2018-06-10 21:50:50 +0200
commitab7de4874d83c9e7b8edd8b68bb1ac0eb98c8e73 (patch)
tree29d319678a0889b3b36e27408a40927e3a4e1238 /travis
parent1232bee4b22bfe67f416852639828a1e68adbed5 (diff)
parentaea86ed356d462fc7cfddbd402253ac0d3a72dd6 (diff)
downloadPROJ-ab7de4874d83c9e7b8edd8b68bb1ac0eb98c8e73.tar.gz
PROJ-ab7de4874d83c9e7b8edd8b68bb1ac0eb98c8e73.zip
Merge pull request #1041 from mwtoews/docs
Rewrite references using BibTeX and sphinxcontrib-bibtex
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