Skip to content

Commit bc434ed

Browse files
committed
Merge pull request #90 from edx/feanil/fix_testing
Assume the test is being run in the correct environment.
2 parents 471cdde + 3aecb86 commit bc434ed

1 file changed

Lines changed: 2 additions & 8 deletions

File tree

jenkins/test.sh

Lines changed: 2 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -23,15 +23,9 @@ github_status state:pending "is running"
2323
# Set the IO encoding to UTF-8 so that askbot will start
2424
export PYTHONIOENCODING=UTF-8
2525

26-
GIT_BRANCH=${GIT_BRANCH/HEAD/master}
27-
if [ ! -d /mnt/virtualenvs/"$JOB_NAME" ]; then
28-
mkdir -p /mnt/virtualenvs/"$JOB_NAME"
29-
virtualenv /mnt/virtualenvs/"$JOB_NAME"
30-
fi
31-
3226
source /mnt/virtualenvs/"$JOB_NAME"/bin/activate
33-
pip install -q -r pre-requirements.txt
34-
pip install -q -r requirements.txt
27+
pip install -q -r pre-requirements.txt --exists-action w
28+
pip install -q -r requirements.txt --exists-action w
3529

3630
rake clobber
3731
rake pep8 || echo "pep8 failed, continuing"

0 commit comments

Comments
 (0)