mirror of
https://github.com/commercialhaskell/stackage-server.git
synced 2026-01-12 12:18:29 +01:00
More deploy tweaks
This commit is contained in:
parent
9592ef47d7
commit
749a2d9533
@ -31,10 +31,15 @@ script:
|
||||
- if [ -f configure.ac ]; then autoreconf -i; fi
|
||||
- cabal configure --enable-tests --enable-benchmarks -v2 # -v2 provides useful information for debugging
|
||||
- cabal build # this builds all libraries and executables (including tests/benchmarks)
|
||||
|
||||
- cabal test
|
||||
- cabal check
|
||||
- cabal sdist # tests that a source-distribution can be generated
|
||||
|
||||
- yesod keter
|
||||
- mkdir -p to-travis
|
||||
- cp stackage-server.keter to-travis
|
||||
|
||||
# The following scriptlet checks that the resulting source distribution can be built & installed
|
||||
- export SRC_TGZ=$(cabal info . | awk '{print $2 ".tar.gz";exit}') ;
|
||||
cd dist/;
|
||||
@ -44,7 +49,3 @@ script:
|
||||
echo "expected '$SRC_TGZ' not found";
|
||||
exit 1;
|
||||
fi
|
||||
|
||||
- yesod keter
|
||||
- mkdir -p to-travis
|
||||
- cp stackage-server.keter to-travis
|
||||
|
||||
Loading…
Reference in New Issue
Block a user