X-Git-Url: http://git.lukelau.me/?a=blobdiff_plain;f=.travis.yml;h=9d8e610da41329923572c8212fd263bd58536cf5;hb=4d68c322be54d7016d19d1bfd714eb272864a21f;hp=3d911b0df6b793a76f2d04fab986ea46141604e9;hpb=1941f747e139f0b904fb065216e194fdf240c2a4;p=lsp-test.git diff --git a/.travis.yml b/.travis.yml index 3d911b0..9d8e610 100644 --- a/.travis.yml +++ b/.travis.yml @@ -9,6 +9,7 @@ cabal: '2.4' cache: directories: - "$HOME/.cabal" + - "$HOME/.ghc" - "$HOME/haskell-ide-engine/dist-newstyle" - "dist-newstyle" timeout: 1000 @@ -19,6 +20,7 @@ addons: - npm before_install: +- export PATH=$HOME/.cabal/bin:$PATH - mkdir -p haskell-ide-engine - cd $HOME/haskell-ide-engine - git init @@ -26,12 +28,13 @@ before_install: - git pull origin master - git checkout abdb097f39e135deaf321a604c95f16cbda32678 - git submodule update --init -- cabal v2-install hie -j2 -- cabal v2-run -j2 hoogle generate +- cabal v2-install hie -j2 --overwrite-policy=always +- cabal v2-install hoogle -j2 --overwrite-policy=always +- hoogle generate - cd $TRAVIS_BUILD_DIR +- cabal install Cabal --constraint "Cabal == 2.4.1.0" - npm update - npm i -g javascript-typescript-langserver -- export PATH=$HOME/.cabal/bin:$PATH install: - cabal v2-build @@ -56,4 +59,3 @@ deploy: tags: true branch: master repo: bubba/lsp-test -