Download the PHP package ampersand/travis-vanilla-magento without Composer
On this page you can find all versions of the php package ampersand/travis-vanilla-magento. It is possible to download/install these versions without Composer. Possible dependencies are resolved automatically.
Download ampersand/travis-vanilla-magento
More information about ampersand/travis-vanilla-magento
Files in ampersand/travis-vanilla-magento
Package travis-vanilla-magento
Short Description A dev dependency helper to set up a LAMP stack and Magento at a specified version in travis, to be used for testing modules
License MIT
Informations about the package travis-vanilla-magento
Archived
This is being scaled back in favour of https://github.com/AmpersandHQ/magento-docker-test-instance
ampersand/travis-vanilla-magento
This script helps bootstrap a magento2 instance in travis for running tests against.
Uses https://store.fooman.co.nz/blog/no-authentication-needed-magento-2-mirror.html
Caveats
- It generates a cert on the fly so you'll need to suppress SSL errors. Any PRs to fix this would be welcomed.
Example
You call the script from your .travis.yml
and it will set up a magento instance for you to run tests against.
Look at this repositories .travis.yml
to see which dependencies are needed
Install a specific version
VERSION=2.3.3 NAME=TESTONE . ./vendor/bin/travis-install-magento.sh
This would generate
- https://magento-TESTONE.localhost
- a database accessible at
mysql -uroot -h127.0.0.1 databaseTESTONE
- To add sample data set the flag when installing
Install latest version
NAME=TESTTWO . ./vendor/bin/travis-install-magento.sh
This would generate
- https://magento-TESTTWO.localhost
- a database accessible at
mysql -uroot -h127.0.0.1 databaseTESTTWO
- To add sample data set the flag when installing