singa-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From wang...@apache.org
Subject incubator-singa git commit: SINGA-354 Update travis scripts to use conda-build for all platforms
Date Mon, 07 May 2018 15:27:35 GMT
Repository: incubator-singa
Updated Branches:
  refs/heads/master 24963c0d7 -> 9696255e4


SINGA-354 Update travis scripts to use conda-build for all platforms

Remove xmlrunner code since it causes bugs.
No xml report will be generated for the unittests.


Project: http://git-wip-us.apache.org/repos/asf/incubator-singa/repo
Commit: http://git-wip-us.apache.org/repos/asf/incubator-singa/commit/9696255e
Tree: http://git-wip-us.apache.org/repos/asf/incubator-singa/tree/9696255e
Diff: http://git-wip-us.apache.org/repos/asf/incubator-singa/diff/9696255e

Branch: refs/heads/master
Commit: 9696255e40aeed9e0f4c703b55fcc11a9e79dc37
Parents: 24963c0
Author: Wang Wei <dcswaw@nus.edu.sg>
Authored: Mon May 7 23:26:20 2018 +0800
Committer: Wang Wei <dcswaw@nus.edu.sg>
Committed: Mon May 7 23:26:20 2018 +0800

----------------------------------------------------------------------
 python/setup.py.in   | 2 +-
 test/python/run.py   | 6 +++---
 tool/conda/meta.yaml | 1 -
 3 files changed, 4 insertions(+), 5 deletions(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/incubator-singa/blob/9696255e/python/setup.py.in
----------------------------------------------------------------------
diff --git a/python/setup.py.in b/python/setup.py.in
index 7a9f2c6..37a7ea6 100644
--- a/python/setup.py.in
+++ b/python/setup.py.in
@@ -67,7 +67,7 @@ setup(
         'flask_cors>=3.0.2',
         'pillow>=2.3.0',
         'future',
-        'xmlrunner',
+    #    'xmlrunner',
         'tqdm',
         'ipywidgets',
         ],

http://git-wip-us.apache.org/repos/asf/incubator-singa/blob/9696255e/test/python/run.py
----------------------------------------------------------------------
diff --git a/test/python/run.py b/test/python/run.py
index 9537d11..b6e318f 100644
--- a/test/python/run.py
+++ b/test/python/run.py
@@ -17,10 +17,10 @@
 #
 
 import unittest
-import xmlrunner
+# import xmlrunner
 
 loader = unittest.TestLoader()
 tests = loader.discover('.')
-# testRunner = unittest.runner.TextTestRunner()
-testRunner = xmlrunner.XMLTestRunner(output='unittest.xml')
+testRunner = unittest.runner.TextTestRunner()
+# testRunner = xmlrunner.XMLTestRunner(output='.')
 testRunner.run(tests)

http://git-wip-us.apache.org/repos/asf/incubator-singa/blob/9696255e/tool/conda/meta.yaml
----------------------------------------------------------------------
diff --git a/tool/conda/meta.yaml b/tool/conda/meta.yaml
index 9b9b3f5..de542cd 100644
--- a/tool/conda/meta.yaml
+++ b/tool/conda/meta.yaml
@@ -36,7 +36,6 @@ requirements:
     - flask-cors >=3.0.2
     - pillow >=2.3.0
     - future >=0.16.0
-    - xmlrunner 1.7.7 
 
 test:
   source_files:


Mime
View raw message