Re-install test/dev dependencies before running tests
before_script used to trigger “yarn install --no-progress --production”, which would uninstall dependencies required to run the tests. Until railties is fixed or we move to Circle CI, work around that issue by re-installing dev dependencies.
This commit is contained in:
		
							parent
							
								
									d392020da6
								
							
						
					
					
						commit
						7a7d8c335e
					
				
					 1 changed files with 1 additions and 0 deletions
				
			
		| 
						 | 
					@ -53,6 +53,7 @@ before_install:
 | 
				
			||||||
 | 
					
 | 
				
			||||||
before_script:
 | 
					before_script:
 | 
				
			||||||
  - travis_wait ./bin/rails parallel:create parallel:load_schema parallel:prepare assets:precompile
 | 
					  - travis_wait ./bin/rails parallel:create parallel:load_schema parallel:prepare assets:precompile
 | 
				
			||||||
 | 
					  - yarn install --no-progress
 | 
				
			||||||
 | 
					
 | 
				
			||||||
script:
 | 
					script:
 | 
				
			||||||
  - travis_retry bundle exec parallel_test spec/ --group-by filesize --type rspec
 | 
					  - travis_retry bundle exec parallel_test spec/ --group-by filesize --type rspec
 | 
				
			||||||
| 
						 | 
					
 | 
				
			||||||
		Loading…
	
		Reference in a new issue