mirror of
				https://github.com/yiisoft/yii2.git
				synced 2025-11-04 06:37:55 +08:00 
			
		
		
		
	travis_retry for mysql
maybe the server is not yet up at this point? https://github.com/yiisoft/yii2/issues/13284
This commit is contained in:
		@ -134,7 +134,7 @@ before_script:
 | 
				
			|||||||
  - psql --version
 | 
					  - psql --version
 | 
				
			||||||
 | 
					
 | 
				
			||||||
  # initialize databases
 | 
					  # initialize databases
 | 
				
			||||||
  - mysql -e 'CREATE DATABASE `yiitest`;';
 | 
					  - travis_retry mysql -e 'CREATE DATABASE `yiitest`;';
 | 
				
			||||||
  - mysql -e "CREATE USER 'travis'@'localhost' IDENTIFIED WITH mysql_native_password;";
 | 
					  - mysql -e "CREATE USER 'travis'@'localhost' IDENTIFIED WITH mysql_native_password;";
 | 
				
			||||||
  - mysql -e "GRANT ALL PRIVILEGES ON *.* TO 'travis'@'localhost' WITH GRANT OPTION;";
 | 
					  - mysql -e "GRANT ALL PRIVILEGES ON *.* TO 'travis'@'localhost' WITH GRANT OPTION;";
 | 
				
			||||||
  - psql -U postgres -c 'CREATE DATABASE yiitest;';
 | 
					  - psql -U postgres -c 'CREATE DATABASE yiitest;';
 | 
				
			||||||
 | 
				
			|||||||
		Reference in New Issue
	
	Block a user