New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
add travis file #17
add travis file #17
Conversation
ghost
commented
Dec 22, 2019
- add travis-ci file
- use docker-compose latest version
- try to build via docker-compose (cannot use install.sh as it requires to provide magento credentials)
TZ=Europe/Berlin COMPOSE_HTTP_TIMEOUT=1800 NAMESPACE=mage2 PHP_VERSION_SET=7.2 SHOP_URI=mage2.localhost MYSQL_DATABASE=mage2 MYSQL_USER=mage2 MYSQL_PASSWORD=mage2 MYSQL_ROOT_PASSWORD=root MAILHOG_EXTERNAL_PORT=8025 MAILHOG_PORT=1025 WEBSERVER_SECURE_PORT=443 WEBSERVER_UNSECURE_PORT=80 AUTH_CONFIG=false AUTH_USER=mage2 AUTH_PASS=mage2 XDEBUG_ENABLE=true DUMP_FOLDER=.db_dump/ INSTALL_POST=install_post.sql SSL=true command running
@x0rzkov Big Up Yourself.... THX |
@x0rzkov |
you need to create an account to https://travis-ci.com/ and add your repository after if you wanna pull the docker image to docker hub, you need also to create an account on https://hub.docker.com/ Then, I can improve the file for setting up your DOCKER_USERNAME and DOCKER_PASSWORD travis env --pro set DOCKER_USERNAME myusername
travis env --pro set DOCKER_PASSWORD secretsecret |
cool leaning something new. i have not worked with travis. |
|
oh shit, can't you use a json file with the credentials and encrypt it https://docs.travis-ci.com/user/encrypting-files/ |
@x0rzkov |
@x0rzkov |
I will have a look at that today |
Is it possible to provide a /home/mage2/.composer/auth.json in order to override the form requesting for credentials ? it will solve the problem |