Summary: travis: cleanup, prepare for addons func. test
This commit is contained in:
parent
49973afe2d
commit
c4ff929382
18
.travis.yml
18
.travis.yml
@ -28,19 +28,25 @@ before_install:
|
|||||||
- stack --version
|
- stack --version
|
||||||
|
|
||||||
install:
|
install:
|
||||||
# install GHC
|
# install GHC and deps
|
||||||
- stack +RTS -N2 -RTS setup
|
- stack +RTS -N2 -RTS build --install-ghc --only-snapshot
|
||||||
# install deps
|
- stack exec -- ghc --version
|
||||||
- stack +RTS -N2 -RTS build --only-snapshot
|
# install GHC and deps
|
||||||
# install shelltestrunner
|
# install tools
|
||||||
- git clone http://github.com/simonmichael/shelltestrunner
|
- git clone http://github.com/simonmichael/shelltestrunner
|
||||||
- stack +RTS -N2 -RTS install --install-ghc --stack-yaml=shelltestrunner/stack.yaml --resolver=lts
|
- stack +RTS -N2 -RTS install --install-ghc --stack-yaml=shelltestrunner/stack.yaml --resolver=lts
|
||||||
|
- shelltest --version
|
||||||
|
|
||||||
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
|
||||||
|
#- bin/compile.sh
|
||||||
# run functional tests
|
# run functional tests
|
||||||
- COLUMNS=80 stack exec -- shelltest --execdir -- -j16 tests
|
# - make functest
|
||||||
|
# run most functional tests, excluding some not yet working on travis
|
||||||
|
- make tests/addons/hledger-addon
|
||||||
|
- PATH=~/.local/bin:/usr/bin:/bin COLUMNS=80 stack exec -- shelltest --execdir -- -j16 tests
|
||||||
|
|
||||||
# coveralls.io coverage reports
|
# coveralls.io coverage reports
|
||||||
# after_script:
|
# after_script:
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user