Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #445 from TomasVotruba/patch-2
travis: use directly PHP 7.0
- Loading branch information
Showing
6 changed files
with
16 additions
and
45 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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,6 +1,6 @@ | ||
#!/bin/bash | ||
if [[ "$TRAVIS_PHP_VERSION" == "5.6" ]]; then | ||
if [[ $TRAVIS_PHP_VERSION == "5.6" ]]; then | ||
vendor/bin/coveralls -v | ||
wget https://scrutinizer-ci.com/ocular.phar | ||
php ocular.phar code-coverage:upload --format=php-clover ./build/logs/clover.xml | ||
fi | ||
fi |
This file was deleted.
Oops, something went wrong.
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,15 +1,11 @@ | ||
#!/bin/bash | ||
if [[ "$TRAVIS_PHP_VERSION" != "hhvm" \ | ||
&& "$TRAVIS_PHP_VERSION" != "hhvm-nightly" \ | ||
&& "$TRAVIS_PHP_VERSION" != "5.3.3" ]]; then | ||
if [[ $TRAVIS_PHP_VERSION != "hhvm" \ | ||
&& $TRAVIS_PHP_VERSION != "hhvm-nightly" \ | ||
&& $TRAVIS_PHP_VERSION != "7.0" ]]; then | ||
phpenv config-add ./travis/extra.ini | ||
phpenv rehash | ||
fi | ||
|
||
if [[ "$TRAVIS_PHP_VERSION" == "5.3.3" ]]; then | ||
php --version | ||
fi | ||
|
||
if [[ "$TRAVIS_PHP_VERSION" == "5.6" ]]; then | ||
if [[ $TRAVIS_PHP_VERSION == "5.6" ]]; then | ||
sed '/MockeryPHPUnitIntegration/d' -i ./phpunit.xml.dist | ||
fi | ||
fi |
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,11 +1,6 @@ | ||
#!/bin/bash | ||
if [[ "$TRAVIS_PHP_VERSION" == "5.3.3" ]]; then | ||
export PATH=$PWD/phar:$PATH | ||
echo PATH is $PATH | ||
fi | ||
|
||
composer install -n | ||
|
||
if [[ "$TRAVIS_PHP_VERSION" == "5.6" ]]; then | ||
if [[ $TRAVIS_PHP_VERSION == "5.6" ]]; then | ||
composer require --dev satooshi/php-coveralls:~0.7@dev | ||
fi | ||
fi |
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,8 +1,8 @@ | ||
#!/bin/bash | ||
if [[ "$TRAVIS_PHP_VERSION" != "hhvm" && "$TRAVIS_PHP_VERSION" != "hhvm-nightly" ]]; then | ||
if [[ $TRAVIS_PHP_VERSION != "hhvm" \ | ||
&& $TRAVIS_PHP_VERSION != "hhvm-nightly" \ | ||
&& $TRAVIS_PHP_VERSION != "7.0" ]]; then | ||
vendor/bin/phpunit --coverage-text --coverage-clover ./build/logs/clover.xml | ||
fi | ||
|
||
if [[ "$TRAVIS_PHP_VERSION" == "hhvm" || "$TRAVIS_PHP_VERSION" == "hhvm-nightly" ]]; then | ||
else | ||
vendor/bin/phpunit | ||
fi | ||
fi |