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: | ||||
|   directories: | ||||
|   - $HOME/.stack/ | ||||
|   - $HOME/.stack-work/ | ||||
| 
 | ||||
| before_install: | ||||
| - mkdir -p ~/.local/bin | ||||
| @ -12,12 +13,13 @@ before_install: | ||||
| - chmod a+x ~/.local/bin/stack | ||||
| 
 | ||||
| install: | ||||
|   - stack setup --no-terminal | ||||
|   - stack build --only-snapshot --no-terminal | ||||
|   - stack --no-terminal --skip-ghc-check setup | ||||
|   - stack --no-terminal --skip-ghc-check build --only-snapshot | ||||
|   # testing: where are we now ? | ||||
|   - pwd | ||||
| 
 | ||||
| script: | ||||
|   #- stack build --no-terminal | ||||
|   - stack test --no-terminal | ||||
|   - stack --no-terminal --skip-ghc-check test | ||||
| 
 | ||||
| notifications: | ||||
| 
 | ||||
|  | ||||
		Loading…
	
		Reference in New Issue
	
	Block a user