Skip to content

Commit

Permalink
Merge pull request #90 from edx/feanil/fix_testing
Browse files Browse the repository at this point in the history
Assume the test is being run in the correct environment.
  • Loading branch information
feanil committed Aug 5, 2014
2 parents 471cdde + 3aecb86 commit bc434ed
Showing 1 changed file with 2 additions and 8 deletions.
10 changes: 2 additions & 8 deletions jenkins/test.sh
Original file line number Diff line number Diff line change
Expand Up @@ -23,15 +23,9 @@ github_status state:pending "is running"
# Set the IO encoding to UTF-8 so that askbot will start
export PYTHONIOENCODING=UTF-8

GIT_BRANCH=${GIT_BRANCH/HEAD/master}
if [ ! -d /mnt/virtualenvs/"$JOB_NAME" ]; then
mkdir -p /mnt/virtualenvs/"$JOB_NAME"
virtualenv /mnt/virtualenvs/"$JOB_NAME"
fi

source /mnt/virtualenvs/"$JOB_NAME"/bin/activate
pip install -q -r pre-requirements.txt
pip install -q -r requirements.txt
pip install -q -r pre-requirements.txt --exists-action w
pip install -q -r requirements.txt --exists-action w

rake clobber
rake pep8 || echo "pep8 failed, continuing"
Expand Down

0 comments on commit bc434ed

Please sign in to comment.