Skip to content

Commit

Permalink
simplified travis installation
Browse files Browse the repository at this point in the history
  • Loading branch information
cebe committed Aug 28, 2014
1 parent 63543c0 commit c4dffa0
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 5 deletions.
4 changes: 1 addition & 3 deletions .travis.yml
Original file line number Diff line number Diff line change
Expand Up @@ -47,9 +47,7 @@ install:
- tests/unit/data/travis/memcache-setup.sh
- tests/unit/data/travis/cubrid-setup.sh
# codeception
- composer global require "codeception/codeception=2.0.*"
- composer global require "codeception/specify=*"
- composer global require "codeception/verify=*"
- composer global require "codeception/codeception=2.0.*" "codeception/specify=*" "codeception/verify=*"
# basic and advanced application:
- tests/unit/data/travis/setup-apps.sh

Expand Down
4 changes: 2 additions & 2 deletions tests/unit/data/travis/cubrid-setup.sh
Original file line number Diff line number Diff line change
Expand Up @@ -60,8 +60,8 @@ echo ""

# cubrid pdo
install_pdo_cubrid() {
if (test "! -f PDO_CUBRID-$CUBRID_PDO_VERSION.tgz"); then
wget "http:https://pecl.php.net/get/PDO_CUBRID-$CUBRID_PDO_VERSION.tgz"
if (test "! (-f PDO_CUBRID-$CUBRID_PDO_VERSION.tgz)"); then
wget "http:https://pecl.php.net/get/PDO_CUBRID-$CUBRID_PDO_VERSION.tgz" -O PDO_CUBRID-$CUBRID_PDO_VERSION.tgz
fi
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"
Expand Down

0 comments on commit c4dffa0

Please sign in to comment.