Update gem --system to work on travis environment.

This commit is contained in:
Martin Edenhofer 2018-04-03 01:40:49 +02:00
parent 5ec7293212
commit 213ec47696

View file

@ -45,7 +45,7 @@ language: ruby
rvm: rvm:
- 2.4.4 - 2.4.4
before_install: before_install:
- gem update - gem update --system # Due to: https://github.com/travis-ci/travis-ci/issues/8978
- 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