Travis: gave up trying to test the sdist.
For some reason hsb2hs was not found, even though it was built.
This commit is contained in:
parent
f31f5924b3
commit
1fd5ca48c1
1 changed files with 0 additions and 12 deletions
12
.travis.yml
12
.travis.yml
|
@ -23,7 +23,6 @@ install:
|
|||
export PATH=$HOME/.cabal/bin:$PATH
|
||||
fi
|
||||
- git clone https://github.com/jgm/pandoc-types && cd pandoc-types && cabal-1.18 install && cd ..
|
||||
- cabal-1.18 install hsb2hs
|
||||
- cabal-1.18 install --only-dependencies --enable-tests -v2
|
||||
|
||||
# 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:
|
|||
- cabal-1.18 test
|
||||
- cabal-1.18 check
|
||||
- cabal-1.18 sdist # tests that a source-distribution can be generated
|
||||
|
||||
# The following scriptlet checks that the resulting source distribution can be built & installed
|
||||
- export SRC_TGZ=$(cabal-1.18 info . | awk '{print $2 ".tar.gz";exit}') ;
|
||||
cd dist/;
|
||||
if [ -f "$SRC_TGZ" ]; then
|
||||
cabal-1.18 install "$SRC_TGZ";
|
||||
else
|
||||
echo "expected '$SRC_TGZ' not found";
|
||||
exit 1;
|
||||
fi
|
||||
|
||||
|
|
Loading…
Reference in a new issue