.travis.yml: create a source dist and do cabal build and test there.
That way we catch errors due to files missing from the data section of pandoc.cabal.
This commit is contained in:
parent
f2f6851713
commit
51ed4a98a9
1 changed files with 3 additions and 8 deletions
11
.travis.yml
11
.travis.yml
|
@ -118,13 +118,8 @@ script:
|
|||
;;
|
||||
cabal)
|
||||
cabal configure --enable-tests --enable-benchmarks -v2 -ffast --ghc-options="-O0 -Wall -fno-warn-unused-do-bind -Werror" && \
|
||||
cabal build -j && \
|
||||
cabal check && \
|
||||
cabal test -j && \
|
||||
cabal copy && \
|
||||
cabal sdist && \
|
||||
SRC_TGZ=$(cabal info . | awk '{print $2;exit}').tar.gz && \
|
||||
cd dist && \
|
||||
cabal install -j -v2 -ffast --ghc-options="-O0 -Wall -fno-warn-unused-do-bind -Werror" --force-reinstall "$SRC_TGZ"
|
||||
cabal sdist --output-directory=sourcedist && \
|
||||
cd sourcedist && \
|
||||
cabal install -j -v2 -ffast --ghc-options="-O0 -Wall -fno-warn-unused-do-bind -Werror" --force-reinstall --test
|
||||
;;
|
||||
esac
|
||||
|
|
Loading…
Add table
Reference in a new issue