Skip to content

Commit

Permalink
Working on travis DB
Browse files Browse the repository at this point in the history
  • Loading branch information
hamiltont committed Jul 22, 2014
1 parent 3f098b4 commit cef5512
Showing 1 changed file with 8 additions and 0 deletions.
8 changes: 8 additions & 0 deletions .travis.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit cef5512

Please sign in to comment.