Update .travis.yml

This commit is contained in:
walisonjose 2018-05-30 14:03:31 -03:00 committed by GitHub
parent e421b3e680
commit cbdfeaad79
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 11 additions and 8 deletions

View File

@ -16,18 +16,21 @@ addons:
apt:
packages:
- sshpass
services:
- mysql
before_install:
#- openssl aes-256-cbc -K $encrypted_cb93ef43fcd2_key -iv $encrypted_cb93ef43fcd2_iv
# -in deploy_rsa.enc -out deploy_rsa -d
#Instalando Mysql
- sudo apt-get install sshpass
- sudo apt-get -y install zsh htop
- echo "mysql-server-5.6 mysql-server/root_password password root" | sudo debconf-set-selections
- echo "mysql-server-5.6 mysql-server/root_password_again password root" | sudo debconf-set-selections
- sudo apt-get -y install mysql-server-5.6
- mysql_secure_installation
- sed -i 's/127\.0\.0\.1/0\.0\.0\.0/g' /etc/mysql/my.cnf
- mysql -uroot -p -e 'USE mysql; UPDATE `user` SET `Host`="%" WHERE `User`="root" AND `Host`="localhost"; DELETE FROM `user` WHERE `Host` != "%" AND `User`="root"; FLUSH PRIVILEGES;'
- sudo apt-get install sshpass
- mysql
#- sudo apt-get -y install zsh htop
#- echo "mysql-server-5.6 mysql-server/root_password password root" | sudo debconf-set-selections
#- echo "mysql-server-5.6 mysql-server/root_password_again password root" | sudo debconf-set-selections
#- sudo apt-get -y install mysql-server-5.6
#- mysql_secure_installation
#- sed -i 's/127\.0\.0\.1/0\.0\.0\.0/g' /etc/mysql/my.cnf
#- mysql -uroot -p -e 'USE mysql; UPDATE `user` SET `Host`="%" WHERE `User`="root" AND `Host`="localhost"; DELETE FROM `user` WHERE `Host` != "%" AND `User`="root"; FLUSH PRIVILEGES;'
install:
- echo -e "Install"
- mkdir /home/travis/build/wordpress/