Skip to content

Commit df60f03

Browse files
committed
Install MySQL if OS=darwin
1 parent 0dce7b5 commit df60f03

File tree

1 file changed

+7
-0
lines changed

1 file changed

+7
-0
lines changed

.travis.yml

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -20,6 +20,13 @@ before_install:
2020
sudo apt-get -o Dpkg::Options::=--force-confdef -o Dpkg::Options::=--force-confold -y install mariadb-server libmariadbd-dev
2121
fi
2222
"
23+
- |
24+
bash -c " # Install MySQL is OS=darwin
25+
if [[ x$OSTYPE =~ ^xdarwin ]]; then
26+
brew install mysql
27+
mysql.server start
28+
fi
29+
"
2330
- mysqld --version
2431
os:
2532
- linux

0 commit comments

Comments
 (0)