travis: build and test addons
This commit is contained in:
		
							parent
							
								
									9e290d18eb
								
							
						
					
					
						commit
						8dc4cffe63
					
				
							
								
								
									
										14
									
								
								.travis.yml
									
									
									
									
									
								
							
							
						
						
									
										14
									
								
								.travis.yml
									
									
									
									
									
								
							| @ -43,13 +43,15 @@ install: | |||||||
| script: | script: | ||||||
|   # build all packages, ensuring no warnings, no haddock failures, per-package test suites passing  |   # build all packages, ensuring no warnings, no haddock failures, per-package test suites passing  | ||||||
|   - stack +RTS -N2 -RTS build --ghc-options=-Werror --haddock --no-haddock-deps --test |   - stack +RTS -N2 -RTS build --ghc-options=-Werror --haddock --no-haddock-deps --test | ||||||
|   # likewise for addons |   # install hledger addon deps, build addons | ||||||
|   #- bin/compile.sh |   # TODO: require successful warning-free builds | ||||||
|  |   - bin/compile.sh | ||||||
|   # run functional tests |   # run functional tests | ||||||
|   # - make functest |   - make functest | ||||||
|   # run most functional tests, excluding some not yet working on travis | 
 | ||||||
|   - make tests/addons/hledger-addon |   # run only some functional tests | ||||||
|   - PATH=~/.local/bin:/usr/bin:/bin COLUMNS=80 stack exec -- shelltest --execdir -x bin/equity -x bin/prices -x bin/rewrite -- -j16 tests |   # - make tests/addons/hledger-addon | ||||||
|  |   # - PATH=~/.local/bin:/usr/bin:/bin COLUMNS=80 stack exec -- shelltest --execdir -x bin/equity -- -j16 tests | ||||||
| 
 | 
 | ||||||
| # coveralls.io coverage reports | # coveralls.io coverage reports | ||||||
| # after_script: | # after_script: | ||||||
|  | |||||||
		Loading…
	
		Reference in New Issue
	
	Block a user