Update gem to work on travis environment.

This commit is contained in:
Martin Edenhofer 2018-04-03 01:29:19 +02:00
parent cea06831df
commit 5ec7293212

View file

@ -45,6 +45,7 @@ language: ruby
rvm: rvm:
- 2.4.4 - 2.4.4
before_install: before_install:
- gem update
- git fetch --unshallow - git fetch --unshallow
- if [ "${DB}" = "mysql" ]; then mysql -u root -e "CREATE USER 'some_user'@'localhost' IDENTIFIED BY 'some_pass';"; fi - if [ "${DB}" = "mysql" ]; then mysql -u root -e "CREATE USER 'some_user'@'localhost' IDENTIFIED BY 'some_pass';"; fi
- if [ "${DB}" = "mysql" ]; then mysql -u root -e "GRANT ALL PRIVILEGES ON *.* TO 'some_user'@'localhost';"; fi - if [ "${DB}" = "mysql" ]; then mysql -u root -e "GRANT ALL PRIVILEGES ON *.* TO 'some_user'@'localhost';"; fi