-
-
Notifications
You must be signed in to change notification settings - Fork 107
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge branch 'hotfix/2.1.11' into support/2.1
- Loading branch information
Showing
19 changed files
with
101 additions
and
27 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 |
---|---|---|
|
@@ -8,6 +8,7 @@ | |
.tx/source/* | ||
!README.md | ||
!composer.json | ||
!.travis.yml | ||
|
||
# Isotope ignoring rules | ||
!isotope/ | ||
|
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,33 @@ | ||
language: php | ||
php: | ||
- 5.3 | ||
- 5.4 | ||
- 5.5 | ||
|
||
env: | ||
- CONTAO_VERSION="3.2.*" | ||
- CONTAO_VERSION="3.3.*" | ||
|
||
sudo: false | ||
|
||
install: | ||
- mysql -e 'CREATE DATABASE isotope_core_testsuite;' | ||
- composer config repositories.contao composer "https://legacy-packages-via.contao-community-alliance.org/" | ||
- sed '$d' composer.json | sed '$d' > composer.new | ||
- 'echo ''},"prefer-stable": true,"minimum-stability": "dev"}'' >> composer.new' | ||
- mv composer.new composer.json | ||
- composer require contao/core:${CONTAO_VERSION} --no-update | ||
- composer update | ||
- cp -R system/modules/isotope vendor/contao/core/system/modules/isotope | ||
- cp -R system/modules/isotope_reports vendor/contao/core/system/modules/isotope_reports | ||
- cp -R system/modules/isotope_rules vendor/contao/core/system/modules/isotope_rules | ||
- cd vendor/contao/core | ||
- rm -rf vendor | ||
- ln -s ../../ ./vendor | ||
- cd system/modules/isotope | ||
- cp test/fixtures/travis/initconfig.php ../../config/initconfig.php | ||
- cp test/fixtures/travis/langconfig.php ../../config/langconfig.php | ||
- cp test/fixtures/travis/localconfig.php ../../config/localconfig.php | ||
- cp test/fixtures/travis/pathconfig.php ../../config/pathconfig.php | ||
|
||
script: phpunit --configuration test/phpunit.xml --bootstrap test/bootstrap.php ./test |
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
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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,3 @@ | ||
<?php | ||
|
||
// Put your custom configuration here |
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,3 @@ | ||
<?php | ||
|
||
// Put your custom configuration here |
23 changes: 23 additions & 0 deletions
23
system/modules/isotope/test/fixtures/travis/localconfig.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,23 @@ | ||
<?php | ||
|
||
### INSTALL SCRIPT START ### | ||
$GLOBALS['TL_CONFIG']['licenseAccepted'] = true; | ||
$GLOBALS['TL_CONFIG']['dbDriver'] = 'MySQLi'; | ||
$GLOBALS['TL_CONFIG']['dbHost'] = '127.0.0.1'; | ||
$GLOBALS['TL_CONFIG']['dbUser'] = 'root'; | ||
$GLOBALS['TL_CONFIG']['dbPass'] = ''; | ||
$GLOBALS['TL_CONFIG']['dbDatabase'] = 'isotope_core_testsuite'; | ||
$GLOBALS['TL_CONFIG']['dbPconnect'] = false; | ||
$GLOBALS['TL_CONFIG']['dbCharset'] = 'UTF8'; | ||
$GLOBALS['TL_CONFIG']['dbPort'] = 3306; | ||
$GLOBALS['TL_CONFIG']['dbSocket'] = ''; | ||
$GLOBALS['TL_CONFIG']['adminEmail'] = '[email protected]'; | ||
$GLOBALS['TL_CONFIG']['displayErrors'] = true; | ||
$GLOBALS['TL_CONFIG']['defaultUser'] = ''; | ||
$GLOBALS['TL_CONFIG']['defaultGroup'] = ''; | ||
$GLOBALS['TL_CONFIG']['maintenanceMode'] = false; | ||
$GLOBALS['TL_CONFIG']['coreOnlyMode'] = false; | ||
$GLOBALS['TL_CONFIG']['bypassCache'] = true; | ||
$GLOBALS['TL_CONFIG']['disableRefererCheck'] = true; | ||
$GLOBALS['TL_CONFIG']['disableIpCheck'] = true; | ||
### INSTALL SCRIPT STOP ### |
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,4 @@ | ||
<?php | ||
|
||
// Relative path to the installation | ||
return''; |
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 |
---|---|---|
|
@@ -21,4 +21,4 @@ | |
<directory>./tests/</directory> | ||
</testsuite> | ||
</testsuites> | ||
</phpunit> | ||
</phpunit> |
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