travis: Add yarn and nodejs caching (#2504)
Also cache node_module and yarn cache in Travis test process. Improves speed for Travis tests.
This commit is contained in:
		
							parent
							
								
									89255db0d8
								
							
						
					
					
						commit
						d4ad054cf2
					
				
					 1 changed files with 5 additions and 1 deletions
				
			
		| 
						 | 
					@ -1,5 +1,9 @@
 | 
				
			||||||
language: ruby
 | 
					language: ruby
 | 
				
			||||||
cache: bundler
 | 
					cache:
 | 
				
			||||||
 | 
					  bundler: true
 | 
				
			||||||
 | 
					  yarn: true
 | 
				
			||||||
 | 
					  directories:
 | 
				
			||||||
 | 
					    - node_modules
 | 
				
			||||||
dist: trusty
 | 
					dist: trusty
 | 
				
			||||||
sudo: false
 | 
					sudo: false
 | 
				
			||||||
 | 
					
 | 
				
			||||||
| 
						 | 
					
 | 
				
			||||||
		Loading…
	
		Reference in a new issue