Suppress warnings for pytorch master jobs
@@ -32,9 +32,13 @@ script:
- if [[ $EXAMPLES == true ]]; then
python setup.py build develop;
grep -l smoke_test examples/**/*.ipynb | xargs grep -L 'smoke_test = False' | CI=true xargs pytest --nbval-lax --current-env;
+ else
+ if [[ $PYTORCH_VERSION = "master" ]]; then
+ python -W ignore -m unittest discover;
else
python -m unittest discover;
fi
+ fi
matrix:
include:
