Commit 50c0449d by Carsten Brandt

ensure tests are failing when build scripts fail

parent 23918f3e
#!/bin/sh #!/bin/sh -e
if [ "$(expr "$TRAVIS_PHP_VERSION" "<" "5.5")" -eq 1 ]; then if [ "$(expr "$TRAVIS_PHP_VERSION" "<" "5.5")" -eq 1 ]; then
echo "extension = apc.so" >> ~/.phpenv/versions/$(phpenv version-name)/etc/php.ini echo "extension = apc.so" >> ~/.phpenv/versions/$(phpenv version-name)/etc/php.ini
......
#!/bin/sh #!/bin/sh -e
# #
# install CUBRID DBMS # install CUBRID DBMS
...@@ -71,7 +71,7 @@ install_pdo_cubrid() { ...@@ -71,7 +71,7 @@ install_pdo_cubrid() {
return $? return $?
} }
install_pdo_cubrid > ~/pdo_cubrid.log || ( echo "=== PDO CUBRID BUILD FAILED ==="; cat ~/pdo_cubrid.log ) install_pdo_cubrid > ~/pdo_cubrid.log || ( echo "=== PDO CUBRID BUILD FAILED ==="; cat ~/pdo_cubrid.log ) && exit 1
echo "" echo ""
echo "Installed CUBRID PDO $CUBRID_PDO_VERSION" echo "Installed CUBRID PDO $CUBRID_PDO_VERSION"
......
#!/bin/sh #!/bin/sh -e
if (php --version | grep -i HipHop > /dev/null); then if (php --version | grep -i HipHop > /dev/null); then
echo "skipping application init on HHVM" echo "skipping application init on HHVM"
......
#!/bin/sh #!/bin/sh -e
if (php --version | grep -i HipHop > /dev/null); then if (php --version | grep -i HipHop > /dev/null); then
echo "skipping memcache on HHVM" echo "skipping memcache on HHVM"
......
#!/bin/sh #!/bin/sh -e
# #
# install mongodb # install mongodb
......
#!/bin/sh #!/bin/sh -e
if (php --version | grep -i HipHop > /dev/null); then if (php --version | grep -i HipHop > /dev/null); then
echo "skipping application setup on HHVM" echo "skipping application setup on HHVM"
......
#!/bin/sh #!/bin/sh -e
SCRIPT=$(readlink -f "$0") SCRIPT=$(readlink -f "$0")
CWD=$(dirname "$SCRIPT") CWD=$(dirname "$SCRIPT")
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment