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;' | |
Author
It was very helpful! Thanks!!
thank you!!!
Great! But currently mysql-5.7-trusty has some problems... :( FYI travis-ci/travis-ci#7992
Author
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.
gustavoocanto@gmail.com