From 19c449d987527f5fe601a15826cc124082549660 Mon Sep 17 00:00:00 2001 From: Luke Lau Date: Tue, 7 Aug 2018 10:41:39 +0100 Subject: [PATCH] Move cabal install path --- .travis.yml | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/.travis.yml b/.travis.yml index cf425d1..6d3063c 100644 --- a/.travis.yml +++ b/.travis.yml @@ -9,7 +9,8 @@ sudo: false cache: directories: # - $HOME/.stack - # - $HOME/haskell-ide-engine/.stack-work + - $HOME/haskell-ide-engine/dist + - $HOME/haskell-ide-engine/dist-newstyle addons: apt: @@ -35,7 +36,7 @@ before_install: - cabal new-configure - cabal new-build -j2 # - export PATH=$HOME/haskell-ide-engine/dist-newstyle/build/*/ghc-*/haskell-ide-engine-*/x/hie/build:$PATH - - cp `find dist-newstyle/ -name hie -type f | xargs -x ls -t | head -n1` $HOME/.cabal/bin/ + - cp `find dist-newstyle/ -name hie -type f | xargs -x ls -t | head -n1` /opt/cabal/2.0/bin/ # - stack --no-terminal --skip-ghc-check install -j2 # - stack exec hoogle generate - cabal install hoogle -- 2.30.2