Skip to content

Commit 870c9b8

Browse files
committed
Add bind address in travis ci mysql config
1 parent b897b81 commit 870c9b8

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

.travis.yml

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -8,6 +8,8 @@ env:
88
- TEST_COMMAND=$(echo $TRAVIS_REPO_SLUG | cut -d/ -f 2) # Get command name to be tested
99

1010
before_script:
11+
- cat /etc/mysql/my.cnf
12+
- sudo sed '/\/bind-address = 127.0.0.1\/i/bind-address = 0.0.0.0/’ /etc/mysql/my.cnf
1113
- cat /etc/mysql/my.cnf
1214
- sudo curl -L https://github.com/docker/compose/releases/download/1.22.0/docker-compose-$(uname -s)-$(uname -m) -o /usr/local/bin/docker-compose
1315
- |

0 commit comments

Comments
 (0)