Add travis ci
This commit is contained in:
		
							parent
							
								
									6ee74604e8
								
							
						
					
					
						commit
						f41f8f65bc
					
				
					 1 changed files with 23 additions and 0 deletions
				
			
		
							
								
								
									
										23
									
								
								.travis.yml
									
										
									
									
									
										Normal file
									
								
							
							
						
						
									
										23
									
								
								.travis.yml
									
										
									
									
									
										Normal file
									
								
							| 
						 | 
					@ -0,0 +1,23 @@
 | 
				
			||||||
 | 
					sudo: false
 | 
				
			||||||
 | 
					
 | 
				
			||||||
 | 
					language: generic
 | 
				
			||||||
 | 
					
 | 
				
			||||||
 | 
					cache:
 | 
				
			||||||
 | 
					  directories:
 | 
				
			||||||
 | 
					  - $HOME/.stack
 | 
				
			||||||
 | 
					
 | 
				
			||||||
 | 
					addons:
 | 
				
			||||||
 | 
					  apt:
 | 
				
			||||||
 | 
					    packages:
 | 
				
			||||||
 | 
					      - libgmp-dev
 | 
				
			||||||
 | 
					
 | 
				
			||||||
 | 
					before_install:
 | 
				
			||||||
 | 
					- mkdir -p ~/.local/bin
 | 
				
			||||||
 | 
					- export PATH=$HOME/.local/bin:$PATH
 | 
				
			||||||
 | 
					- travis_retry curl -L https://get.haskellstack.org/stable/linux-x86_64.tar.gz | tar xz --wildcards --strip-components=1 -C ~/.local/bin '*/stack'
 | 
				
			||||||
 | 
					
 | 
				
			||||||
 | 
					install:
 | 
				
			||||||
 | 
					- stack --no-terminal --install-ghc test --only-dependencies
 | 
				
			||||||
 | 
					
 | 
				
			||||||
 | 
					script:
 | 
				
			||||||
 | 
					- stack --no-terminal test --haddock --no-haddock-deps
 | 
				
			||||||
		Loading…
	
	Add table
		Add a link
		
	
		Reference in a new issue