beam-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From al...@apache.org
Subject [1/2] beam git commit: Fix post commit script to install gcp dependencies
Date Wed, 22 Feb 2017 01:55:42 GMT
Repository: beam
Updated Branches:
  refs/heads/master c3141ed99 -> 0d639e63d


Fix post commit script to install gcp dependencies


Project: http://git-wip-us.apache.org/repos/asf/beam/repo
Commit: http://git-wip-us.apache.org/repos/asf/beam/commit/aaa22789
Tree: http://git-wip-us.apache.org/repos/asf/beam/tree/aaa22789
Diff: http://git-wip-us.apache.org/repos/asf/beam/diff/aaa22789

Branch: refs/heads/master
Commit: aaa227892821019b6a73e117f446f606b3e69ad4
Parents: c3141ed
Author: Sourabh Bajaj <sourabhbajaj@google.com>
Authored: Tue Feb 21 17:31:39 2017 -0800
Committer: Sourabh Bajaj <sourabhbajaj@google.com>
Committed: Tue Feb 21 17:31:39 2017 -0800

----------------------------------------------------------------------
 sdks/python/run_postcommit.sh | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/beam/blob/aaa22789/sdks/python/run_postcommit.sh
----------------------------------------------------------------------
diff --git a/sdks/python/run_postcommit.sh b/sdks/python/run_postcommit.sh
index 3756075..fc83260 100755
--- a/sdks/python/run_postcommit.sh
+++ b/sdks/python/run_postcommit.sh
@@ -41,13 +41,13 @@ pip install virtualenv --user
 pip install tox --user
 
 # Tox runs unit tests in a virtual environment
-${LOCAL_PATH}/tox -e py27 -c sdks/python/tox.ini
+${LOCAL_PATH}/tox -e ALL -c sdks/python/tox.ini
 
 # Virtualenv for the rest of the script to run setup & e2e tests
 ${LOCAL_PATH}/virtualenv sdks/python
 . sdks/python/bin/activate
 cd sdks/python
-python setup.py install
+pip install -e .[gcp,test]
 
 # Run wordcount in the Direct Runner and validate output.
 echo ">>> RUNNING DIRECT RUNNER py-wordcount"


Mime
View raw message