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
Showing
2,675 changed files
with
168,188 additions
and
114,367 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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,8 @@ | ||
Where can you get support and help? | ||
==================== | ||
* [The Joomla! Documentation](https://docs.joomla.org/Special:MyLanguage/Main_Page); | ||
* [Frequently Asked Questions](https://docs.joomla.org/Special:MyLanguage/Category:FAQ) (FAQ); | ||
* Find the [information you need](https://docs.joomla.org/Special:MyLanguage/Start_here); | ||
* Find [help and other users](https://www.joomla.org/about-joomla/create-and-share.html); | ||
* Post questions at [our forums](https://forum.joomla.org); | ||
* [Joomla Resources Directory](https://resources.joomla.org) (JRD). |
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,13 @@ | ||
fail_on_violations: false | ||
|
||
scss: | ||
enabled: false | ||
|
||
jshint: | ||
enabled: false | ||
|
||
eslint: | ||
enabled: false | ||
|
||
ruby: | ||
enabled: false |
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,75 @@ | ||
#!groovy | ||
|
||
pipeline { | ||
agent any | ||
|
||
stages { | ||
|
||
stage('codestyles') { | ||
agent { | ||
docker 'joomlaprojects/docker-phpcs' | ||
} | ||
steps { | ||
sh '/usr/local/vendor/bin/phpcs --report=full --extensions=php -p --standard=build/phpcs/Joomla .' | ||
} | ||
} | ||
|
||
stage("Testing PHP") { | ||
steps { | ||
// You can only use the parallel step if it's the *only* step in the stage. | ||
parallel( | ||
PHP53: { | ||
sh 'export PHPVERSION=php53;/usr/local/bin/docker-compose --project-name php53-$BRANCH_NAME-$BUILD_NUMBER -f build/jenkins/docker-compose.yml run --rm test bash build/jenkins/unit-tests.sh' | ||
}, | ||
PHP54: { | ||
sh 'export PHPVERSION=php54;/usr/local/bin/docker-compose --project-name php54-$BRANCH_NAME-$BUILD_NUMBER -f build/jenkins/docker-compose.yml run --rm test bash build/jenkins/unit-tests.sh' | ||
}, | ||
PHP55: { | ||
sh 'export PHPVERSION=php55;/usr/local/bin/docker-compose --project-name php55-$BRANCH_NAME-$BUILD_NUMBER -f build/jenkins/docker-compose.yml run --rm test bash build/jenkins/unit-tests.sh' | ||
}, | ||
PHP56: { | ||
sh 'export PHPVERSION=php56;/usr/local/bin/docker-compose --project-name php56-$BRANCH_NAME-$BUILD_NUMBER -f build/jenkins/docker-compose.yml run --rm test bash build/jenkins/unit-tests.sh' | ||
}, | ||
PHP70: { | ||
sh 'export PHPVERSION=php70;/usr/local/bin/docker-compose --project-name php70-$BRANCH_NAME-$BUILD_NUMBER -f build/jenkins/docker-compose.yml run --rm test bash build/jenkins/unit-tests.sh' | ||
}, | ||
PHP71: { | ||
sh 'export PHPVERSION=php71;/usr/local/bin/docker-compose --project-name php71-$BRANCH_NAME-$BUILD_NUMBER -f build/jenkins/docker-compose.yml run --rm test bash build/jenkins/unit-tests.sh' | ||
} | ||
) | ||
} | ||
post { | ||
always { | ||
// Spin down containers no matter what happens | ||
sh 'export PHPVERSION=php53;/usr/local/bin/docker-compose --project-name php53-$BRANCH_NAME-$BUILD_NUMBER -f build/jenkins/docker-compose.yml down' | ||
sh 'export PHPVERSION=php54;/usr/local/bin/docker-compose --project-name php54-$BRANCH_NAME-$BUILD_NUMBER -f build/jenkins/docker-compose.yml down' | ||
sh 'export PHPVERSION=php55;/usr/local/bin/docker-compose --project-name php55-$BRANCH_NAME-$BUILD_NUMBER -f build/jenkins/docker-compose.yml down' | ||
sh 'export PHPVERSION=php56;/usr/local/bin/docker-compose --project-name php56-$BRANCH_NAME-$BUILD_NUMBER -f build/jenkins/docker-compose.yml down' | ||
sh 'export PHPVERSION=php70;/usr/local/bin/docker-compose --project-name php70-$BRANCH_NAME-$BUILD_NUMBER -f build/jenkins/docker-compose.yml down' | ||
sh 'export PHPVERSION=php71;/usr/local/bin/docker-compose --project-name php71-$BRANCH_NAME-$BUILD_NUMBER -f build/jenkins/docker-compose.yml down' | ||
} | ||
} | ||
} | ||
|
||
stage('Testing-Javascript') { | ||
agent { | ||
docker { | ||
image 'joomlaprojects/docker-systemtests' | ||
args '--user 0' | ||
} | ||
} | ||
steps { | ||
sh ''' | ||
ln -s /usr/bin/nodejs /usr/bin/node && \ | ||
export DISPLAY=:0 && \ | ||
(Xvfb -screen 0 1024x768x24 -ac +extension GLX +render -noreset &) && \ | ||
sleep 3 && \ | ||
(fluxbox &) && \ | ||
cd tests/javascript && npm install --no-optional && cd ../.. && \ | ||
tests/javascript/node_modules/karma/bin/karma start karma.conf.js --single-run | ||
''' | ||
} | ||
} | ||
} | ||
|
||
} |
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,6 @@ | ||
; If you want to setup your test website (document root) in a different folder, you can do that here. | ||
; You can also set an absolute path, i.e. /path/to/my/cms/folder | ||
cmsPath = tests/codeception/joomla-cms | ||
|
||
; (Linux / Mac only) If you want to set a different owner for the CMS root folder, you can set it here. | ||
localUser = |
Oops, something went wrong.