Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
1 parent
3db309a
commit 4f4bbca
Showing
9 changed files
with
59 additions
and
63 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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,25 +1,51 @@ | ||
language: php | ||
|
||
php: | ||
- 7.2 | ||
- 7.3 | ||
matrix: | ||
fast_finish: true | ||
include: | ||
- env: TYPO3_VERSION=^9.5 COVERAGE=1 | ||
php: 7.2 | ||
- env: TYPO3_VERSION=^9.5 COVERAGE=1 | ||
php: 7.3 | ||
|
||
sudo: true | ||
|
||
sudo: false | ||
|
||
addons: | ||
apt: | ||
packages: | ||
- parallel | ||
|
||
cache: | ||
directories: | ||
- $HOME/.composer/cache | ||
|
||
before_install: | ||
- composer self-update | ||
- composer --version | ||
|
||
before_script: | ||
- Build/Scripts/runTests.sh -s composerInstall -p $TRAVIS_PHP_VERSION | ||
- composer require typo3/minimal=$TYPO3_VERSION | ||
- git checkout composer.json | ||
- export TYPO3_PATH_WEB=$PWD/.Build/Web | ||
- mkdir -p build/logs | ||
|
||
script: | ||
- > | ||
echo "Running composer validate" | ||
Build/Scripts/runTests.sh -s composerValidate -p $TRAVIS_PHP_VERSION | ||
if [[ "$COVERAGE" == "0" ]]; then | ||
echo; | ||
echo "Running unit tests"; | ||
.Build/bin/phpunit --configuration phpunit.xml.dist --colors Tests/Unit/ | ||
fi | ||
- > | ||
echo "Running unit tests"; | ||
Build/Scripts/runTests.sh -s unit -p $TRAVIS_PHP_VERSION | ||
if [[ "$COVERAGE" == "1" ]]; then | ||
echo; | ||
echo "Running unit tests with coverage"; | ||
.Build/bin/phpunit --configuration phpunit.xml.dist --colors --coverage-text --coverage-clover build/logs/clover.xml Tests/Unit/ | ||
fi | ||
after_script: | ||
- > | ||
echo "Running php lint"; | ||
Build/Scripts/runTests.sh -s lint -p $TRAVIS_PHP_VERSION | ||
if [[ "$COVERAGE" == "1" ]]; then | ||
travis_retry php .Build/bin/coveralls -v | ||
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
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
11 changes: 11 additions & 0 deletions
11
Tests/Unit/Controller/Backend/StorageFrameworkManagerControllerTest.php
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 |
---|---|---|
@@ -0,0 +1,11 @@ | ||
<?php | ||
declare(strict_types=1); | ||
|
||
namespace Filoucrackeur\StorageFrameworkManager\Tests\Controller\Backend; | ||
|
||
use Nimut\TestingFramework\TestCase\UnitTestCase; | ||
|
||
class StorageFrameworkManagerControllerTest extends UnitTestCase | ||
{ | ||
|
||
} |