diff --git a/.travis.yml b/.travis.yml index 5abb6f90e99..8d7c5580a80 100644 --- a/.travis.yml +++ b/.travis.yml @@ -12,6 +12,16 @@ matrix: env: PYTHON_VERSION=python3 ONNX_ML=0 language: python python: "3.6" + - os: linux + sudo: required + env: PYTHON_VERSION=python3 ONNX_ML=0 ONNX_DEBUG=1 + language: python + python: "3.6" + - os: linux + sudo: required + env: PYTHON_VERSION=python3 ONNX_ML=1 ONNX_DEBUG=1 + language: python + python: "3.6" - os: osx osx_image: xcode9.3 env: PYTHON_VERSION=python2 ONNX_ML=0 @@ -34,6 +44,9 @@ matrix: - os: osx osx_image: xcode9.3 env: PYTHON_VERSION=python3 + - os: osx + osx_image: xcode9.3 + env: PYTHON_VERSION=python3 ONNX_DEBUG=1 - os: linux sudo: required env: PYTHON_VERSION=python2 LITE=1 diff --git a/.travis/install.sh b/.travis/install.sh index 1c6555eea83..edfc75db787 100755 --- a/.travis/install.sh +++ b/.travis/install.sh @@ -13,5 +13,9 @@ fi export CMAKE_ARGS="${CMAKE_ARGS} -DONNXIFI_DUMMY_BACKEND=ON" export ONNX_NAMESPACE=ONNX_NAMESPACE_FOO_BAR_FOR_CI +if [ "${ONNX_DEBUG}" == "1" ]; then + export DEBUG=1 +fi + time python setup.py --quiet bdist_wheel --universal --dist-dir . find . -maxdepth 1 -name "*.whl" -ls -exec pip install {} \;