Try to have a smarter Sauce test.
This commit is contained in:
parent
9dff0ec16d
commit
e7dc302727
2 changed files with 14 additions and 1 deletions
13
test/prepareSauceTest.sh
Normal file
13
test/prepareSauceTest.sh
Normal file
|
@ -0,0 +1,13 @@
|
|||
#!/bin/bash
|
||||
|
||||
PHP_VERSION=`php -v|grep --only-matching --perl-regexp "5\.\\d+\"`
|
||||
|
||||
if [[ $PHP_VERSION != "5.5" ]]
|
||||
then
|
||||
echo "Bad PHP version"
|
||||
exit
|
||||
fi
|
||||
|
||||
echo "Good PHP version"
|
||||
|
||||
curl -s https://raw.github.com/jlipps/sausage-bun/master/givememysausage.php | php
|
Loading…
Add table
Add a link
Reference in a new issue