Run tox in docker build 30/230/1
authorTommy Carpenter <tommy@research.att.com>
Fri, 31 May 2019 14:40:40 +0000 (10:40 -0400)
committerTommy Carpenter <tommy@research.att.com>
Fri, 31 May 2019 14:40:47 +0000 (10:40 -0400)
Change-Id: I63185e963df2ec19edeebe8d7236bdf2fbc027c9
Signed-off-by: Tommy Carpenter <tommy@research.att.com>
Dockerfile
docs/release-notes.rst
setup.py

index 8b44500..3005c06 100644 (file)
@@ -26,10 +26,16 @@ RUN git checkout a012cf63dfdad3656c995cb06c316fd208c63b98
 RUN mkdir .build; cd .build; cmake ..; make install
 
 # Install python-rmr
-RUN pip install --upgrade pip 
+RUN pip install --upgrade pip
 
 #install a1
 WORKDIR /tmp
+
+# Run our unit tests
+RUN pip install tox
+RUN tox
+
+# do the actual install
 RUN pip install .
 EXPOSE 10000
 
index 66c11a1..a1bc0ae 100644 (file)
@@ -24,6 +24,15 @@ The format is based on `Keep a Changelog <http://keepachangelog.com/>`__
 and this project adheres to `Semantic
 Versioning <http://semver.org/>`__.
 
+[0.8.1] - 5/31/2019
+-------------------
+
+::
+
+   * Run unit tests as part of docker build
+
+
+
 [0.8.0] - 5/28/2019
 -------------------
 
index 6050ba9..d2ac038 100644 (file)
--- a/setup.py
+++ b/setup.py
@@ -18,7 +18,7 @@ from setuptools import setup, find_packages
 
 setup(
     name="a1",
-    version="0.8.0",
+    version="0.8.1",
     packages=find_packages(exclude=["tests.*", "tests"]),
     author="Tommy Carpenter",
     description="RIC A1 Mediator for policy/intent changes",