diff options
author | Kasper Timm Hansen <kaspth@gmail.com> | 2017-07-19 10:14:13 +0200 |
---|---|---|
committer | GitHub <noreply@github.com> | 2017-07-19 10:14:13 +0200 |
commit | 14e24304243f9c3ed94236c9737eb0752b7dad40 (patch) | |
tree | 5307cc801cfb7e31996706cfef410036c3e2d1b4 | |
parent | 1c2ed0a05440b65f093f5394edb785f86b9e85ad (diff) | |
parent | 249a982a2518facd0332f49196be7a6084330246 (diff) | |
download | rails-14e24304243f9c3ed94236c9737eb0752b7dad40.tar.gz rails-14e24304243f9c3ed94236c9737eb0752b7dad40.tar.bz2 rails-14e24304243f9c3ed94236c9737eb0752b7dad40.zip |
Merge pull request #29844 from kamipo/create_rails_user_on_travis_ci
Create `rails@localhost` user on travis 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', |