From 6d2f7558fb0edf00a086e60e719e0e52cfa5497d Mon Sep 17 00:00:00 2001 From: Takafumi Arakaki Date: Tue, 26 Feb 2013 10:45:58 +0100 Subject: [PATCH] Run doctests on Travis CI --- .travis.yml | 1 + test/test.sh | 2 ++ 2 files changed, 3 insertions(+) diff --git a/.travis.yml b/.travis.yml index cdd88810..b049499b 100644 --- a/.travis.yml +++ b/.travis.yml @@ -6,6 +6,7 @@ python: - 3.2 install: - if [[ $TRAVIS_PYTHON_VERSION == '2.5' ]]; then pip install --use-mirrors simplejson; fi + - pip install --use-mirrors nose script: - cd test - ./test.sh diff --git a/test/test.sh b/test/test.sh index 9e2077f9..4b41f743 100755 --- a/test/test.sh +++ b/test/test.sh @@ -4,3 +4,5 @@ python regression.py python run.py echo python refactor.py +echo +nosetests --with-doctest --doctest-tests ../jedi/