Add a test to avoid testing on Sauce when the API KEY is not here ... (Pull request).
This commit is contained in:
parent
19baa9bdf5
commit
268565882d
|
@ -1,5 +1,11 @@
|
||||||
#!/usr/bin/env bash
|
#!/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+"`
|
PHP_VERSION=`php -v|grep --only-matching --perl-regexp "PHP 5\.\\d+"`
|
||||||
echo $PHP_VERSION
|
echo $PHP_VERSION
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue