mirror of
https://github.com/simonmichael/hledger.git
synced 2024-12-26 03:42:25 +03:00
tools: travis: quit if any setup command fails, too
This commit is contained in:
parent
c6eaf9abb3
commit
ca9e906c2a
@ -63,6 +63,9 @@ branches:
|
||||
|
||||
install: # completed commands' output is collapsed in log
|
||||
|
||||
# if any command fails, end the travis run
|
||||
- set -e
|
||||
|
||||
# stack
|
||||
- mkdir -p ~/.local/bin
|
||||
- travis_retry curl -L https://www.stackage.org/stack/linux-x86_64 | tar xz --wildcards --strip-components=1 -C ~/.local/bin '*/stack'
|
||||
@ -89,9 +92,6 @@ install: # completed commands' output is collapsed in log
|
||||
|
||||
script: # all commands' output is shown in log, all commands must succeed for travis success
|
||||
|
||||
# if any of the following commands fail, end the travis run
|
||||
- set -e
|
||||
|
||||
# build hledger packages, ensuring no warnings, no haddock failures, package test suites passing
|
||||
- stack build --ghc-options=-Werror --test --haddock --no-haddock-deps #hledger-lib hledger hledger-ui #hledger-web hledger-api
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user