Skip to content

Commit

Permalink
add a script to install selenium
Browse files Browse the repository at this point in the history
  • Loading branch information
rbuels committed Nov 16, 2012
1 parent d88482a commit a179aa6
Showing 1 changed file with 15 additions and 0 deletions.
15 changes: 15 additions & 0 deletions tests/install_selenium.sh
Original file line number Diff line number Diff line change
@@ -0,0 +1,15 @@
#!/bin/bash
set -e;

# try to install pip if we don't have it
if ! ( which pip >/dev/null 2>&1 ); then
if ( which apt-get ); then
sudo apt-get install python-pip
else if ( which easy_install >/dev/null 2>&1 ); then
easy_install pip
fi;
fi;
fi;

# install selenium and nose with pip
pip install selenium nose

0 comments on commit a179aa6

Please sign in to comment.