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