-
Notifications
You must be signed in to change notification settings - Fork 34
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
* #73 initialize test structure * #73: add routing config * #73: add unit tests for manager * #73: add register / login / logout functional tests * #73: add register / login / logout functional tests * #73: add form and area tests * #73: add form and area tests * #73: add restriction tests * #73: add restriction tests * #73: remove .htaccess involving tests * #73: add pimcore 5.6 to tests * #73: fix tests for pimcore 5.6.0 * #73: fix tests for pimcore 5.6.0 * #73: fix tests for pimcore 5.6.0 * #73: fix tests for pimcore 5.6.0: improve query resource fetcher * #73: make controller requested services public
- Loading branch information
Showing
101 changed files
with
5,006 additions
and
144 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 |
---|---|---|
@@ -0,0 +1,69 @@ | ||
sudo: required | ||
language: php | ||
addons: | ||
chrome: stable | ||
mariadb: '10.1' | ||
|
||
env: | ||
global: | ||
- PIMCORE_ENVIRONMENT=test | ||
- DACHCOM_BUNDLE_TEST=1 | ||
- PIMCORE_TEST_URL=http://localhost | ||
- CHROME_DRIVER_VERSION=2.41 | ||
- SELENIUM_VERSION=3.6.0 | ||
- WEBDRIVER_HOST=localhost | ||
- WEBDRIVER_URL="http://localhost:8080/" | ||
- PIMCORE_TEST_DB_DSN="mysql://root@localhost/dachcom_bundle_test" | ||
- PIMCORE_CLASS_DIRECTORY="${TRAVIS_BUILD_DIR}/lib/Members/tests/_output/var/classes/DataObject" | ||
- SYMFONY_DEPRECATIONS_HELPER=weak | ||
matrix: | ||
include: | ||
# pimcore 5.4.x | ||
- sudo: required | ||
php: 7.1 | ||
env: | ||
- PIMCORE_SKELETON_BRANCH="tags/v1.0.4" | ||
- sudo: required | ||
php: 7.2 | ||
env: | ||
- PIMCORE_SKELETON_BRANCH="tags/v1.0.4" | ||
# pimcore 5.5.x | ||
- sudo: required | ||
php: 7.1 | ||
env: | ||
- PIMCORE_SKELETON_BRANCH="tags/v1.0.5" | ||
- sudo: required | ||
php: 7.2 | ||
env: | ||
- PIMCORE_SKELETON_BRANCH="tags/v1.0.5" | ||
# pimcore 5.6.x | ||
- sudo: required | ||
php: 7.1 | ||
env: | ||
- PIMCORE_SKELETON_BRANCH="tags/v1.1.0" | ||
- sudo: required | ||
php: 7.2 | ||
env: | ||
- PIMCORE_SKELETON_BRANCH="tags/v1.1.0" | ||
fast_finish: true | ||
|
||
cache: | ||
directories: | ||
- $HOME/.composer/cache | ||
|
||
install: | ||
- tests/etc/travis/install | ||
|
||
after_failure: | ||
- cd $TRAVIS_BUILD_DIR | ||
- cat ./lib/Members/tests/_output/* | ||
|
||
script: | ||
- '$HOME/chromedriver --url-base=/wd/hub &' | ||
- 'php ${TRAVIS_BUILD_DIR}/bin/console server:start 127.0.0.1:8080' | ||
- 'php ${TRAVIS_BUILD_DIR}/bin/console server:status' | ||
- etc/travis/script | ||
|
||
notifications: | ||
email: | ||
- [email protected] |
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,7 @@ | ||
settings: | ||
memory_limit: -1 | ||
colors: true | ||
paths: | ||
log: var/logs | ||
include: | ||
- tests |
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 |
---|---|---|
|
@@ -28,6 +28,6 @@ | |
} | ||
}, | ||
"require": { | ||
"pimcore/core-version": "^5.0.0" | ||
"pimcore/core-version": "^5.4.0" | ||
} | ||
} |
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
Oops, something went wrong.