From 122a2654f00a610d0d62cb8a8fa430f5edfb1c7e Mon Sep 17 00:00:00 2001 From: Tim O'Donnell <timodonnell@gmail.com> Date: Sat, 21 Mar 2020 18:35:59 -0400 Subject: [PATCH] don't use make in travis for sphinx doctest --- .travis.yml | 1 - docs/conf.py | 2 ++ docs/doctest.sh | 2 +- 3 files changed, 3 insertions(+), 2 deletions(-) diff --git a/.travis.yml b/.travis.yml index 6164353a..8f911e46 100644 --- a/.travis.yml +++ b/.travis.yml @@ -18,7 +18,6 @@ before_install: # Useful for debugging any issues with conda - conda info -a - free -m - - make -v addons: apt: packages: diff --git a/docs/conf.py b/docs/conf.py index 533a841e..0df6c59f 100644 --- a/docs/conf.py +++ b/docs/conf.py @@ -66,6 +66,8 @@ logging.getLogger('tensorflow').disabled = True import numpy import pandas import mhcflurry +pandas.set_option('max_columns', 20) +pandas.set_option('display.expand_frame_repr', False) ''' doctest_test_doctest_blocks = '' diff --git a/docs/doctest.sh b/docs/doctest.sh index 04841694..442c617d 100755 --- a/docs/doctest.sh +++ b/docs/doctest.sh @@ -1,6 +1,6 @@ #!/bin/bash -make doctest +sphinx-build -b doctest -d _build/doctrees . _build/doctest RETVAL=$? echo doctest returned $RETVAL cat _build/doctest/output.txt -- GitLab