Skip to content
Permalink
Browse files

Attempt to fix the MySQL builds.

These have started failing with installation errors. Rely on the mysql
service instead of installing MySQL with apt.
  • Loading branch information...
markstory committed Dec 2, 2016
1 parent e7a3d40 commit cea1b6f84623cb907dc0b05a7f1ba9518708b1fd
Showing with 1 addition and 1 deletion.
  1. +1 −1 .travis.yml
@@ -20,6 +20,7 @@ services:
- memcached
- redis-server
- postgresql
- mysql

addons:
postgresql: "9.4"
@@ -50,7 +51,6 @@ before_install:

- if [ -n "$GH_TOKEN" ]; then composer config github-oauth.github.com ${GH_TOKEN}; fi;

- if [ $DB = 'mysql' ]; then sudo apt-get -y install mysql-server; fi
- if [ $DB = 'mysql' ]; then mysql -u root -e 'CREATE DATABASE cakephp_test;'; fi
- if [ $DB = 'mysql' ]; then mysql -u root -e 'CREATE DATABASE cakephp_test2;'; fi
- if [ $DB = 'mysql' ]; then mysql -u root -e 'CREATE DATABASE cakephp_test3;'; fi

0 comments on commit cea1b6f

Please sign in to comment.
You can’t perform that action at this time.