git.iko.soy/typeable/pandoc
on master help sign in
More travis tweaks.
f31f592John MacFarlane
.travis.yml+1−1
@@ -23,6 +23,7 @@ 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
26 - cabal-1.18 install --only-dependencies --enable-tests -v2
27 - cabal-1.18 install --only-dependencies --enable-tests -v2
27
28
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.
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.
@@ -37,7 +38,6 @@ script:
37 - export SRC_TGZ=$(cabal-1.18 info . | awk '{print $2 ".tar.gz";exit}') ;
38 - export SRC_TGZ=$(cabal-1.18 info . | awk '{print $2 ".tar.gz";exit}') ;
38 cd dist/;
39 cd dist/;
39 if [ -f "$SRC_TGZ" ]; then
40 if [ -f "$SRC_TGZ" ]; then
40− cabal-1.18 install hsb2hs;
41 cabal-1.18 install "$SRC_TGZ";
41 cabal-1.18 install "$SRC_TGZ";
42 else
42 else
43 echo "expected '$SRC_TGZ' not found";
43 echo "expected '$SRC_TGZ' not found";