tools: travis: try to cache a bit more
This commit is contained in:
		
							parent
							
								
									0d9bbe6653
								
							
						
					
					
						commit
						e33e3c3cc5
					
				
							
								
								
									
										10
									
								
								.travis.yml
									
									
									
									
									
								
							
							
						
						
									
										10
									
								
								.travis.yml
									
									
									
									
									
								
							| @ -4,6 +4,7 @@ sudo: false | |||||||
| cache: | cache: | ||||||
|   directories: |   directories: | ||||||
|   - $HOME/.stack/ |   - $HOME/.stack/ | ||||||
|  |   - $HOME/.stack-work/ | ||||||
| 
 | 
 | ||||||
| before_install: | before_install: | ||||||
| - mkdir -p ~/.local/bin | - mkdir -p ~/.local/bin | ||||||
| @ -12,12 +13,13 @@ before_install: | |||||||
| - chmod a+x ~/.local/bin/stack | - chmod a+x ~/.local/bin/stack | ||||||
| 
 | 
 | ||||||
| install: | install: | ||||||
|   - stack setup --no-terminal |   - stack --no-terminal --skip-ghc-check setup | ||||||
|   - stack build --only-snapshot --no-terminal |   - stack --no-terminal --skip-ghc-check build --only-snapshot | ||||||
|  |   # testing: where are we now ? | ||||||
|  |   - pwd | ||||||
| 
 | 
 | ||||||
| script: | script: | ||||||
|   #- stack build --no-terminal |   - stack --no-terminal --skip-ghc-check test | ||||||
|   - stack test --no-terminal |  | ||||||
| 
 | 
 | ||||||
| notifications: | notifications: | ||||||
| 
 | 
 | ||||||
|  | |||||||
		Loading…
	
		Reference in New Issue
	
	Block a user