Skip to content

Commit

Permalink
Merge pull request #60 from CyberBLN/fix_travis-ci
Browse files Browse the repository at this point in the history
BUGFIX: file ../unit-tests/ci/phalcon.ini does not exist
  • Loading branch information
fabfuel authored Sep 28, 2016
2 parents 5568d72 + 9c37413 commit cf888c5
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 2 deletions.
3 changes: 2 additions & 1 deletion .travis.yml
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,8 @@ php:

before_script:
- ./tests/install-php-extension.sh
- echo "extension = mongo.so" >> ~/.phpenv/versions/$(phpenv version-name)/etc/php.ini
- php --ri phalcon > /dev/null || echo "extension=\"phalcon.so\"" >> ~/.phpenv/versions/$(phpenv version-name)/etc/php.ini
- php --ri mongo > /dev/null || echo "extension=\"mongo.so\"" >> ~/.phpenv/versions/$(phpenv version-name)/etc/php.ini
- composer self-update
- composer install --prefer-dist -o

Expand Down
2 changes: 1 addition & 1 deletion tests/install-php-extension.sh
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
#!/usr/bin/env bash

git clone -q --depth=1 https://github.com/phalcon/cphalcon.git -b master
cd cphalcon/ext; export CFLAGS="-g3 -O1 -fno-delete-null-pointer-checks -Wall"; phpize && ./configure --enable-phalcon && make -j4 && sudo make install && phpenv config-add ../unit-tests/ci/phalcon.ini
cd cphalcon/ext; export CFLAGS="-g3 -O1 -fno-delete-null-pointer-checks -Wall"; phpize && ./configure --enable-phalcon && make -j4 && sudo make install

0 comments on commit cf888c5

Please sign in to comment.