Add a test to avoid testing on Sauce when the API KEY is not here ... (Pull request).

This commit is contained in:
Sébastien Lucas 2013-11-30 16:56:37 +01:00
parent 19baa9bdf5
commit 268565882d

View file

@ -1,5 +1,11 @@
#!/usr/bin/env bash
if [[ -z $SAUCE_API_KEY ]]
then
echo "No Sauce Api Key (Pull request)"
exit
fi
PHP_VERSION=`php -v|grep --only-matching --perl-regexp "PHP 5\.\\d+"`
echo $PHP_VERSION