Skip to content

Commit

Permalink
Now installing phantom js when "PHANTOM_JS_ENABLED" environment varia…
Browse files Browse the repository at this point in the history
…ble is set. This is required because we do not only want phantom for behat tests but also for karma frontent tests.
  • Loading branch information
Sebastian Gronewold committed Apr 21, 2014
1 parent 4edae13 commit e2f7faf
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion bin/compile
Original file line number Diff line number Diff line change
Expand Up @@ -475,7 +475,7 @@ then
fi
fi
if [ ! -z "${BEHAT_RUNNER}" ] && [ "${BEHAT_RUNNER}" = "1" ]; then
if [ ! -z "${PHANTOM_JS_ENABLED}" ] && [ "${PHANTOM_JS_ENABLED}" = "1" ]; then
echo "-----> Installing phantomJS"
PHANTOMJS_FILENAME=phantomjs-1.9.7-linux-x86_64.tar.bz2
PHANTOMJS_ARCHIVE_NAME=phantomjs-1.9.7-linux-x86_64
Expand Down

0 comments on commit e2f7faf

Please sign in to comment.