From 88ebf23944fbeef8923296d433e2019ed36ac092 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?Micha=C5=82=20Dulko?= <michal.dulko@intel.com>
Date: Thu, 26 Nov 2015 10:15:32 +0100
Subject: [PATCH] Force releasenotes warnings to be treated as errors

Change-Id: I03a8071114d8d4042ad143b55860e5562d86b34d
---
 tox.ini | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/tox.ini b/tox.ini
index f331f68acc4..960e868fcea 100644
--- a/tox.ini
+++ b/tox.ini
@@ -31,7 +31,7 @@ passenv = http_proxy HTTP_PROXY https_proxy HTTPS_PROXY no_proxy NO_PROXY
 downloadcache = ~/cache/pip
 
 [testenv:releasenotes]
-commands = sphinx-build -a -E -d releasenotes/build/doctrees -b html releasenotes/source releasenotes/build/html
+commands = sphinx-build -a -E -W -d releasenotes/build/doctrees -b html releasenotes/source releasenotes/build/html
 
 [testenv:common-constraints]
 install_command = pip install -c{env:UPPER_CONSTRAINTS_FILE:https://git.openstack.org/cgit/openstack/requirements/plain/upper-constraints.txt} {opts} {packages}