Try hoogle from apt
[lsp-test.git] / .travis.yml
index 6d3063c936b59896d830c2d5beb42ac8e6959df0..c0bf0de1e76ad5173ccd333fc9ead1ffa05fd092 100644 (file)
@@ -16,6 +16,7 @@ addons:
   apt:
     packages:
     - npm
+    - hoogle
 
 before_install:
   # Download and unpack the stack executable
@@ -35,11 +36,11 @@ before_install:
   - git submodule update
   - cabal new-configure
   - cabal new-build -j2
+  - export PATH=$HOME/haskell-ide-engine/dist-newstyle/build/*/ghc-*/haskell-ide-engine-*/c/hie/build/hie/hie:$PATH
   # - 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` /opt/cabal/2.0/bin/
   # - stack --no-terminal --skip-ghc-check install -j2
   # - stack exec hoogle generate
-  - cabal install hoogle
+  # - cabal install happy hoogle
   - hoogle generate
   - cd $TRAVIS_BUILD_DIR
   - npm update