install_test_deps.sh 337 B

12345678910111213141516
  1. #!/usr/bin/env bash
  2. # This is not supposed to be an error-prone script; just a convenience.
  3. # Install CCM
  4. pip install --user cql PyYAML six
  5. git clone https://github.com/pcmanus/ccm.git
  6. pushd ccm
  7. ./setup.py install --user
  8. popd
  9. if [ "$1" != "gocql/gocql" ]; then
  10. USER=$(echo $1 | cut -f1 -d'/')
  11. cd ../..
  12. mv ${USER} gocql
  13. fi