More deploy tweaks

This commit is contained in:
Michael Snoyman 2015-03-22 15:12:19 +02:00
parent 9592ef47d7
commit 749a2d9533

View File

@ -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