Disabled Pypi package upload for Linux
@@ -26,7 +26,8 @@ anaconda -t $ANACONDA_TOKEN upload conda-bld/**/osqp-*.tar.bz2 --user oxfordcont
echo "Successfully deployed to Anaconda.org."
-
+# Binary Linux packages not supported on Pypi
+if [[ "$TRAVIS_OS_NAME" != "linux" ]]; then
cd ${TRAVIS_BUILD_DIR}/interfaces/python
@@ -36,6 +37,7 @@ echo "Deploying to Pypi..."
twine upload --config-file ../../ci/pypirc -p $PYPI_PASSWORD dist/*
echo "Successfully deployed to Pypi"
+fi
