tools: make travistest
This commit is contained in:
		
							parent
							
								
									e105cdee98
								
							
						
					
					
						commit
						ed93026f48
					
				
							
								
								
									
										11
									
								
								Makefile
									
									
									
									
									
								
							
							
						
						
									
										11
									
								
								Makefile
									
									
									
									
									
								
							| @ -533,6 +533,17 @@ $(call def-help-subsection,TESTING:) | |||||||
| test: pkgtest builtintest functest \ | test: pkgtest builtintest functest \ | ||||||
| 	$(call def-help,test, run default tests ) | 	$(call def-help,test, run default tests ) | ||||||
| 
 | 
 | ||||||
|  | travistest: \ | ||||||
|  | 	$(call def-help,travistest, run tests similar to the most thorough travis tests) | ||||||
|  | 	stack build --ghc-options=-Werror --test --haddock --no-haddock-deps hledger-lib | ||||||
|  | 	stack build --ghc-options=-Werror --test --haddock --no-haddock-deps hledger | ||||||
|  | 	stack build --ghc-options=-Werror --test --haddock --no-haddock-deps hledger-ui | ||||||
|  | 	stack build --ghc-options=-Werror --test --haddock --no-haddock-deps hledger-web | ||||||
|  | 	stack build --ghc-options=-Werror --test --haddock --no-haddock-deps hledger-api | ||||||
|  | 	sh -e bin/compile.sh | ||||||
|  | 	make functest | ||||||
|  | 
 | ||||||
|  | 
 | ||||||
| # test-ghc-%: # bin/hledgerdev.ghc-$* \
 | # test-ghc-%: # bin/hledgerdev.ghc-$* \
 | ||||||
| # 	$(call def-help,test-ghc-%,\
 | # 	$(call def-help,test-ghc-%,\
 | ||||||
| # 	run default tests with a specific GHC version\
 | # 	run default tests with a specific GHC version\
 | ||||||
|  | |||||||
		Loading…
	
		Reference in New Issue
	
	Block a user