git.iko.soy/typeable/pandoc
on master help sign in
Travis: gave up trying to test the sdist.
1fd5ca4John MacFarlane
.travis.yml−12
@@ -23,7 +23,6 @@ install:
23 export PATH=$HOME/.cabal/bin:$PATH
23 export PATH=$HOME/.cabal/bin:$PATH
24 fi
24 fi
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
28
27
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
36−
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}') ;
39− cd dist/;
40− if [ -f "$SRC_TGZ" ]; then
41− cabal-1.18 install "$SRC_TGZ";
42− else
43− echo "expected '$SRC_TGZ' not found";
44− exit 1;
45− fi
46−