Skip to content

Commit

Permalink
Update .travis.yml
Browse files Browse the repository at this point in the history
  • Loading branch information
23Skidoo committed Jan 26, 2016
1 parent b1124ff commit 4aaa174
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions .travis.yml
Original file line number Diff line number Diff line change
Expand Up @@ -53,9 +53,8 @@ script:
# built & installed.
- function install_from_tarball {
export SRC_TGZ=$(cabal info . | awk '{print $2 ".tar.gz";exit}') ;
export CABAL_LIB_VERSION=$(ghc-pkg latest Cabal | gawk 'match($0, /^Cabal-(.*)$/, a) {print a[1]}') ;
if [ -f "dist/$SRC_TGZ" ]; then
cabal install -j1 --cabal-lib-version=$CABAL_LIB_VERSION "dist/$SRC_TGZ" -v2;
cabal install -j1 "dist/$SRC_TGZ" -v2;
else
echo "expected 'dist/$SRC_TGZ' not found";
exit 1;
Expand Down

0 comments on commit 4aaa174

Please sign in to comment.