Forked from BenMorel/.travis.install-mysql-5.7.sh
Last active
August 29, 2015 14:27
-
-
Save samuelpismel/ed591bdd4abdc61877b3 to your computer and use it in GitHub Desktop.
Install MySQL 5.7 on Travis-CI
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
sudo apt-get remove --purge "^mysql.*" | |
sudo apt-get autoremove | |
sudo apt-get autoclean | |
sudo rm -rf /var/lib/mysql | |
sudo rm -rf /var/log/mysql | |
echo mysql-apt-config mysql-apt-config/enable-repo select mysql-5.7-dmr | sudo debconf-set-selections | |
wget http://dev.mysql.com/get/mysql-apt-config_0.2.1-1ubuntu12.04_all.deb | |
sudo dpkg --install mysql-apt-config_0.2.1-1ubuntu12.04_all.deb | |
sudo apt-get update -q | |
sudo apt-get install -q -y -o Dpkg::Options::="--force-confdef" -o Dpkg::Options::="--force-confold" mysql-server |
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
before_script: | |
- bash .travis.install-mysql-5.7.sh |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment