Skip to content

Commit

Permalink
Attempt to fix the MySQL builds.
Browse files Browse the repository at this point in the history
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 cea1b6f
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion .travis.yml
Original file line number Diff line number Diff line change
Expand Up @@ -20,6 +20,7 @@ services:
- memcached
- redis-server
- postgresql
- mysql

addons:
postgresql: "9.4"
Expand Down Expand Up @@ -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
Expand Down

0 comments on commit cea1b6f

Please sign in to comment.