Skip to content

Commit

Permalink
TravisCi
Browse files Browse the repository at this point in the history
  • Loading branch information
DavidBruchmann committed Apr 12, 2018
1 parent ec12d54 commit 8fff94d
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 4 deletions.
9 changes: 5 additions & 4 deletions .travis.yml
Original file line number Diff line number Diff line change
Expand Up @@ -26,8 +26,8 @@ before_install:
- composer --version

before_script:
- phpenv config-rm xdebug.ini
- composer require typo3/minimal=$TYPO3_VERSION
- composer require typo3/cms=$TYPO3_VERSION
- composer require typo3/testing-framework=~1.0.0
# Restore composer.json
- git checkout composer.json
- export TYPO3_PATH_WEB=$PWD/.Build/Web
Expand All @@ -36,15 +36,16 @@ script:
- >
echo;
echo "Running unit tests";
.Build/bin/phpunit --colors -c .Build/vendor/nimut/testing-framework/res/Configuration/UnitTests.xml Tests/Unit/
.Build/bin/phpunit --colors -c .Build/vendor/typo3/testing-framework/Resources/Core/Build/UnitTests.xml Tests/Unit/
- >
echo;
echo "Running php lint";
find . -name \*.php ! -path "./.Build/*" | parallel --gnu php -d display_errors=stderr -l {} > /dev/null \;
- >
echo;
echo "Running functional tests";
export typo3DatabaseName="typo3";
export typo3DatabaseHost="localhost";
export typo3DatabaseUsername="root";
export typo3DatabasePassword="";
find 'Tests/Functional' -wholename '*Test.php' | parallel --gnu 'echo; echo "Running functional test suite {}"; .Build/bin/phpunit --colors -c .Build/vendor/nimut/testing-framework/res/Configuration/FunctionalTests.xml {}'
find 'Tests/Functional' -wholename '*Test.php' | parallel --gnu 'echo; echo "Running functional test suite {}"; .Build/bin/phpunit --colors -c .Build/vendor/typo3/testing-framework/Resources/Core/Build/FunctionalTests.xml {}'
1 change: 1 addition & 0 deletions README.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,6 @@
TYPO3 Extension ``t3quotes``
========================
[![Build Status](https://travis-ci.org/DavidBruchmann/t3quotes)](https://travis-ci.org/DavidBruchmann/t3quotes)
[![StyleCI](https://styleci.io/repos/91969362/shield?branch=master)](https://styleci.io/repos/91969362/)

**t3quotes** is an extension for [TYPO3](https://typo3.org) to collect and display quotes.
Expand Down

0 comments on commit 8fff94d

Please sign in to comment.