diff --git a/.travis.yml b/.travis.yml
index 8bcbf70e33..10966c7e89 100644
--- a/.travis.yml
+++ b/.travis.yml
@@ -131,8 +131,10 @@ script:
# affect any downstream functionality but causes the build to fail
# spuriously. The echo-backtick workaround gets around this error,
# which should be investigated further in the future.
- - if [[ $TEST_TARGET == 'doctest' ]]; then
+ - >
+ if [[ $TEST_TARGET == 'doctest' ]]; then
cd $INSTALL_DIR/docs/iris;
+ echo 'image.cmap: viridis' > matplotlibrc;
echo `make clean html`;
make doctest;
fi
diff --git a/docs/iris/src/_templates/index.html b/docs/iris/src/_templates/index.html
index ca6845b504..76b9ee2c7c 100644
--- a/docs/iris/src/_templates/index.html
+++ b/docs/iris/src/_templates/index.html
@@ -29,7 +29,7 @@
// Only use first 5 images
for (var i = 0; i < 5; i++) {
var img = images[i];
- $ss.append('
');
+ $ss.append('
');
}
$ss.cycle({