Commit c4dffa0f by Carsten Brandt

simplified travis installation

parent 63543c0a
...@@ -47,9 +47,7 @@ install: ...@@ -47,9 +47,7 @@ install:
- tests/unit/data/travis/memcache-setup.sh - tests/unit/data/travis/memcache-setup.sh
- tests/unit/data/travis/cubrid-setup.sh - tests/unit/data/travis/cubrid-setup.sh
# codeception # codeception
- composer global require "codeception/codeception=2.0.*" - composer global require "codeception/codeception=2.0.*" "codeception/specify=*" "codeception/verify=*"
- composer global require "codeception/specify=*"
- composer global require "codeception/verify=*"
# basic and advanced application: # basic and advanced application:
- tests/unit/data/travis/setup-apps.sh - tests/unit/data/travis/setup-apps.sh
......
...@@ -60,8 +60,8 @@ echo "" ...@@ -60,8 +60,8 @@ echo ""
# cubrid pdo # cubrid pdo
install_pdo_cubrid() { install_pdo_cubrid() {
if (test "! -f PDO_CUBRID-$CUBRID_PDO_VERSION.tgz"); then if (test "! (-f PDO_CUBRID-$CUBRID_PDO_VERSION.tgz)"); then
wget "http://pecl.php.net/get/PDO_CUBRID-$CUBRID_PDO_VERSION.tgz" wget "http://pecl.php.net/get/PDO_CUBRID-$CUBRID_PDO_VERSION.tgz" -O PDO_CUBRID-$CUBRID_PDO_VERSION.tgz
fi fi
tar -zxf "PDO_CUBRID-$CUBRID_PDO_VERSION.tgz" tar -zxf "PDO_CUBRID-$CUBRID_PDO_VERSION.tgz"
sh -c "cd PDO_CUBRID-$CUBRID_PDO_VERSION && phpize && ./configure --prefix=$CWD/cubrid/PDO_CUBRID-$CUBRID_PDO_VERSION && make" sh -c "cd PDO_CUBRID-$CUBRID_PDO_VERSION && phpize && ./configure --prefix=$CWD/cubrid/PDO_CUBRID-$CUBRID_PDO_VERSION && make"
......
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