Update .travis.yml
This commit is contained in:
parent
e421b3e680
commit
cbdfeaad79
19
.travis.yml
19
.travis.yml
|
@ -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/
|
||||
|
|
Loading…
Reference in New Issue