Last active
September 29, 2018 08:06
-
-
Save gocanto/46b8d39576f612f9c6b8b4ffb3efac98 to your computer and use it in GitHub Desktop.
MySQL 5.7 Travis CI configuration
This file contains hidden or 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
language: php | |
php: | |
- 7.0 | |
- 7.1 | |
services: | |
- mysql | |
addons: | |
apt: | |
sources: | |
- mysql-5.7-trusty | |
packages: | |
- mysql-server | |
dist: trusty | |
sudo: required | |
before_script: | |
- mysql -e 'create database antvel;' | |
It was very helpful! Thanks!!
thank you!!!
Great! But currently mysql-5.7-trusty
has some problems... :( FYI travis-ci/travis-ci#7992
Good. I am glad it was helpful :)
Thank you.
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
MySQL 5.7 Travis CI configuration
After two days of researching online and trying too many examples, I got the solution down for this use case.
Example file
You can find a whole file example working with this configuration on https://github.com/ant-vel/Shop/blob/master/.travis.yml
License
The MIT License (MIT). Please see License File for more information.
How can I thank you?
Just don't forget to follow me on twitter!
Thanks!
Gustavo Ocanto.
[email protected]