This is an automated email from the ASF dual-hosted git repository.
marcoabreu pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/incubator-mxnet.git
The following commit(s) were added to refs/heads/master by this push:
new 61b17b7 [MXNET-908] Enable python tests in Travis (#12550)
61b17b7 is described below
commit 61b17b7f5ef961fe631f24fbf5b81c283460e40f
Author: Kellen Sunderland <[email protected]>
AuthorDate: Wed Sep 19 07:10:21 2018 -0700
[MXNET-908] Enable python tests in Travis (#12550)
This turns on python tests in Travis in order to increase or MacOS coverage.
---
.travis.yml | 1 +
ci/travis/install.sh | 4 ++--
2 files changed, 3 insertions(+), 2 deletions(-)
diff --git a/.travis.yml b/.travis.yml
index f61bd86..817d1ac 100644
--- a/.travis.yml
+++ b/.travis.yml
@@ -29,3 +29,4 @@ script:
- export MXNET_STORAGE_FALLBACK_LOG_VERBOSE=0
- mv make/osx.mk config.mk
- make -j 2
+ - python -m nose --verbose tests/python/unittest/
diff --git a/ci/travis/install.sh b/ci/travis/install.sh
index d04dda7..16db601 100644
--- a/ci/travis/install.sh
+++ b/ci/travis/install.sh
@@ -25,6 +25,6 @@ if [ ${TRAVIS_OS_NAME} == "osx" ]; then
brew install libpng
brew install ImageMagick
brew install swig
- python -m pip install --user nose numpy cython scipy requests
- python3 -m pip install --user nose numpy cython scipy requests
+ python -m pip install --user nose numpy cython scipy requests mock
+ python3 -m pip install --user nose numpy cython scipy requests mock
fi