From 294718244f290e8b7602f8d35822e07136b5f78f Mon Sep 17 00:00:00 2001 From: Matthew Honnibal Date: Thu, 30 Mar 2017 05:21:13 -0500 Subject: [PATCH] Set tb=native in pytest, to try to fix travis flakiness --- .travis.yml | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/.travis.yml b/.travis.yml index 55c080d1d..acdf637d1 100644 --- a/.travis.yml +++ b/.travis.yml @@ -22,9 +22,9 @@ install: script: - "pip install pytest" - - if [[ "${VIA}" == "compile" ]]; then python -m pytest spacy; fi - - if [[ "${VIA}" == "pypi" ]]; then python -m pytest `python -c "import os.path; import spacy; print(os.path.abspath(ospath.dirname(spacy.__file__)))"`; fi - - if [[ "${VIA}" == "sdist" ]]; then python -m pytest `python -c "import os.path; import spacy; print(os.path.abspath(os.path.dirname(spacy.__file__)))"`; fi + - if [[ "${VIA}" == "compile" ]]; then python -m pytest --tb=native spacy; fi + - if [[ "${VIA}" == "pypi" ]]; then python -m pytest --tb=native `python -c "import os.path; import spacy; print(os.path.abspath(ospath.dirname(spacy.__file__)))"`; fi + - if [[ "${VIA}" == "sdist" ]]; then python -m pytest --tb=native `python -c "import os.path; import spacy; print(os.path.abspath(os.path.dirname(spacy.__file__)))"`; fi notifications: slack: