diff options
author | Ryuta Kamizono <kamipo@gmail.com> | 2017-07-19 09:59:00 +0900 |
---|---|---|
committer | Ryuta Kamizono <kamipo@gmail.com> | 2017-07-19 10:18:00 +0900 |
commit | 249a982a2518facd0332f49196be7a6084330246 (patch) | |
tree | a568cdb3fa05fca5157eea90c5cc5df92d5d9885 /ci | |
parent | a03a7ce50b9dfe4a13f0cd11b69a093a5bcfd7e9 (diff) | |
download | rails-249a982a2518facd0332f49196be7a6084330246.tar.gz rails-249a982a2518facd0332f49196be7a6084330246.tar.bz2 rails-249a982a2518facd0332f49196be7a6084330246.zip |
Create `rails@localhost` user on travis ci
Looks like that latest CI failure is due to missing `rails@localhost`.
Creating the user may solve the issue.
https://travis-ci.org/rails/rails/jobs/254996063#L831
Diffstat (limited to 'ci')
-rwxr-xr-x | ci/travis.rb | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/ci/travis.rb b/ci/travis.rb index bb87c8f4ad..6e002d4a5b 100755 --- a/ci/travis.rb +++ b/ci/travis.rb @@ -3,6 +3,10 @@ require "fileutils" include FileUtils commands = [ + 'mysql -e "create user rails@localhost;"', + 'mysql -e "grant all privileges on activerecord_unittest.* to rails@localhost;"', + 'mysql -e "grant all privileges on activerecord_unittest2.* to rails@localhost;"', + 'mysql -e "grant all privileges on inexistent_activerecord_unittest.* to rails@localhost;"', 'mysql -e "create database activerecord_unittest;"', 'mysql -e "create database activerecord_unittest2;"', 'psql -c "create database activerecord_unittest;" -U postgres', |