Change Travis deploy order
@@ -13,6 +13,10 @@ import copy
import sys
import runpy
+if "travis_deploy" in sys.argv:
+ from build_package import travis_build_package
+ sys.exit(travis_build_package())
+
root_folder = os.path.abspath(os.path.dirname(__file__))
packages = [os.path.dirname(p) for p in (glob.glob('azure*/setup.py') + glob.glob('sdk/*/azure*/setup.py'))]
@@ -35,9 +39,6 @@ content_package.insert(0, "azure-common")
# Package final:
if "install" in sys.argv:
packages = content_package
-elif "travis_deploy" in sys.argv:
- from build_package import travis_build_package
- sys.exit(travis_build_package())
else:
packages = nspkg_packages + content_package + meta_package
