]> git.rkrishnan.org Git - tahoe-lafs/tahoe-lafs.git/commitdiff
Enable DeprecationWarnings for Travis-CI even on Python 2.7. refs #2366
authorDaira Hopwood <daira@jacaranda.org>
Thu, 22 Jan 2015 02:49:16 +0000 (02:49 +0000)
committerDaira Hopwood <daira@jacaranda.org>
Thu, 22 Jan 2015 02:49:16 +0000 (02:49 +0000)
Signed-off-by: Daira Hopwood <daira@jacaranda.org>
.travis.yml

index 36356b2b3dfd2d3cef6cdcbf5fc3c22b1bad1f2b..a47cf5e1ddc0358771307d59c31021afbb82f288 100644 (file)
@@ -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: