From cef5512fa82b9f41742542e41e80a366463fa3df Mon Sep 17 00:00:00 2001 From: Hamilton Turner Date: Tue, 22 Jul 2014 14:45:44 -0400 Subject: [PATCH] Working on travis DB --- .travis.yml | 8 ++++++++ 1 file changed, 8 insertions(+) diff --git a/.travis.yml b/.travis.yml index 255bb6396ad..f789f430f2c 100644 --- a/.travis.yml +++ b/.travis.yml @@ -25,7 +25,15 @@ before_install: - cat /home/travis/.ssh/id_rsa.pub > /home/travis/.ssh/authorized_keys - chmod 600 /home/travis/.ssh/authorized_keys # Setup the root account to be what TFB expects + - mysql --user=root --execute="select Host,User,Password FROM mysql.user" + - echo "Configuring mysql" - echo "USE mysql;\nUPDATE user SET password=PASSWORD('secret') WHERE user='root';\nFLUSH PRIVILEGES;\n" | mysql -u root + - mysql --user=root --execute="select Host,User,Password FROM mysql.user" + - mysql --user=root --password=secret --execute="select Host,User,Password FROM mysql.user" + - mysql -uroot -psecret < config/create.sql + - mysql --user=root --execute="select Host,User,Password FROM mysql.user" + - mysql --user=root --password=secret --execute="select Host,User,Password FROM mysql.user" + install: - pip install docker-py - pip install coveralls