@@ -23,7 +23,6 @@ install:
23 export PATH=$HOME/.cabal/bin:$PATH
23 export PATH=$HOME/.cabal/bin:$PATH
25 - git clone https://github.com/jgm/pandoc-types && cd pandoc-types && cabal-1.18 install && cd ..
25 - git clone https://github.com/jgm/pandoc-types && cd pandoc-types && cabal-1.18 install && cd ..
26− - cabal-1.18 install hsb2hs
27 - cabal-1.18 install --only-dependencies --enable-tests -v2
26 - cabal-1.18 install --only-dependencies --enable-tests -v2
29# Here starts the actual work to be performed for the package under test; any command which exits with a non-zero exit code causes the build to fail.
28# Here starts the actual work to be performed for the package under test; any command which exits with a non-zero exit code causes the build to fail.
@@ -33,14 +32,3 @@ script:
33 - cabal-1.18 test
32 - cabal-1.18 test
34 - cabal-1.18 check
33 - cabal-1.18 check
35 - cabal-1.18 sdist # tests that a source-distribution can be generated
34 - cabal-1.18 sdist # tests that a source-distribution can be generated
37−# The following scriptlet checks that the resulting source distribution can be built & installed
38− - export SRC_TGZ=$(cabal-1.18 info . | awk '{print $2 ".tar.gz";exit}') ;
40− if [ -f "$SRC_TGZ" ]; then
41− cabal-1.18 install "$SRC_TGZ";
43− echo "expected '$SRC_TGZ' not found";