-
Notifications
You must be signed in to change notification settings - Fork 143
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
* php tests with composer setup * php tests fix * fix tests * Force env init before tests * fix session in extension * Makefiles for php-tests * small readme fix * Makefiles for php-tests * apt-get php5-dev * Circle-ci php env * Circle-ci php env * Make for php-tests * Make for php-tests * Circle-ci config for phpize link * Circle-ci config for php-config link * fix for php test * Circle build setting push * Isolate python test * Revert python test isolation * explicitly use python2 temporarily comment coverage calculation * force rebuild * fix setuptools error * fix editor newline * fix gcov usage * setup python3 version * force rebuild * fix installing python
- Loading branch information
Showing
16 changed files
with
468 additions
and
380 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Empty file.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,5 +1,5 @@ | ||
#!/bin/bash -e | ||
|
||
rm composer.json | ||
rm -f composer.json | ||
ln -s composer-php5.6.json composer.json | ||
php composer.phar update |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,5 +1,5 @@ | ||
#!/bin/bash -e | ||
|
||
rm composer.json | ||
rm -f composer.json | ||
ln -s composer-php7.json composer.json | ||
php composer.phar update |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,9 +1,23 @@ | ||
#!/bin/bash -e | ||
|
||
DIR="$( cd "$( dirname "${BASH_SOURCE[0]}" )" && pwd )" | ||
cd $DIR | ||
PHPVERSION=`php -r "echo PHP_MAJOR_VERSION;"` | ||
|
||
|
||
if [ ! -f ./composer.phar ]; then | ||
bash ./composer-setup.sh | ||
fi | ||
|
||
if [ $PHPVERSION = 7 ]; then | ||
bash ./init_env-php7.sh | ||
else | ||
bash ./init_env-php5.6.sh | ||
fi | ||
|
||
echo -e "\n >>>> secure cell tests <<<<\\n" | ||
./vendor/phpunit/phpunit/phpunit scell_test.php | ||
php -c php.ini ./vendor/phpunit/phpunit/phpunit scell_test.php | ||
echo -e "\n >>>> secure message tests <<<<\n" | ||
./vendor/phpunit/phpunit/phpunit smessage_test.php | ||
php -c php.ini ./vendor/phpunit/phpunit/phpunit smessage_test.php | ||
echo -e "\n >>>> secure token tests <<<<\n" | ||
# todo: | ||
./vendor/phpunit/phpunit/phpunit ssession_test.php | ||
php -c php.ini ./vendor/phpunit/phpunit/phpunit ssession_test.php |
Oops, something went wrong.