X-Git-Url: http://git.lukelau.me/?a=blobdiff_plain;f=.travis.yml;h=dc3d0b1c838acaca9b029954985d6a9ccf542bae;hb=a986ed6b44d62079476dadb07388b43847c5d724;hp=3d911b0df6b793a76f2d04fab986ea46141604e9;hpb=1941f747e139f0b904fb065216e194fdf240c2a4;p=lsp-test.git diff --git a/.travis.yml b/.travis.yml index 3d911b0..dc3d0b1 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,19 +20,22 @@ addons: - npm before_install: -- mkdir -p haskell-ide-engine +- export PATH=$HOME/.cabal/bin:$PATH +- mkdir -p $HOME/haskell-ide-engine - cd $HOME/haskell-ide-engine - git init - git remote add origin https://github.com/haskell/haskell-ide-engine.git - git pull origin master - git checkout abdb097f39e135deaf321a604c95f16cbda32678 - git submodule update --init -- cabal v2-install hie -j2 -- cabal v2-run -j2 hoogle generate +- ls -a +- 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 +60,3 @@ deploy: tags: true branch: master repo: bubba/lsp-test -