From: Daira Hopwood <daira@jacaranda.org>
Date: Thu, 22 Jan 2015 02:49:16 +0000 (+0000)
Subject: Enable DeprecationWarnings for Travis-CI even on Python 2.7. refs #2366
X-Git-Tag: allmydata-tahoe-1.10.1a1~80
X-Git-Url: https://git.rkrishnan.org/simplejson/status?a=commitdiff_plain;h=cec7727bf980f62ba5e98d11776edb658860e350;p=tahoe-lafs%2Ftahoe-lafs.git

Enable DeprecationWarnings for Travis-CI even on Python 2.7. refs #2366

Signed-off-by: Daira Hopwood <daira@jacaranda.org>
---

diff --git a/.travis.yml b/.travis.yml
index 36356b2b..a47cf5e1 100644
--- a/.travis.yml
+++ b/.travis.yml
@@ -11,7 +11,7 @@ before_install:
 install:
   - pip install 'coveralls==0.4.2'
 before_script: python setup.py build
-script: bin/tahoe @coverage run --branch --source=src/allmydata @tahoe --version-and-path debug trial --rterrors --reporter=timing
+script: PYTHONWARNINGS=default::DeprecationWarning bin/tahoe @coverage run --branch --source=src/allmydata @tahoe --version-and-path debug trial --rterrors --reporter=timing
 after_success:
   coveralls
 notifications: