cops/test/prepareSauceTest.sh

15 lines
292 B
Bash
Raw Normal View History

2013-11-28 11:06:31 +02:00
#!/usr/bin/env bash
2013-11-28 11:20:34 +02:00
PHP_VERSION=`php -v|grep --only-matching --perl-regexp "5\.\\d+"`
2013-11-28 11:41:14 +02:00
echo $PHP_VERSION
2013-11-28 11:06:31 +02:00
if [[ $PHP_VERSION != "5.5" ]]
then
echo "Bad PHP version"
exit
fi
echo "Good PHP version"
2013-11-28 10:44:17 +02:00
curl -s https://raw.github.com/jlipps/sausage-bun/master/givememysausage.php | php