Limit number of jobs for stack
[lsp-test.git] / .travis.yml
index 08aa0518736af212a7beadc5ec04052c42d7cba6..f1d04aef6c6b13df73591491df9db9b4f2b350d8 100644 (file)
@@ -17,7 +17,6 @@ addons:
   apt:
     packages:
     - npm
-    - hoogle
 
 before_install:
   - printenv
@@ -34,7 +33,11 @@ before_install:
   - git init
   - git remote add origin https://github.com/haskell/haskell-ide-engine.git
   - git pull origin master
-  - stack --no-terminal install
+  - git submodule init
+  - git submodule sync
+  - git submodule update --init
+  - stack --no-terminal --skip-ghc-check -j2 install
+  - stack exec hoogle generate
   - cd $TRAVIS_BUILD_DIR
   - hie --version
   # - git submodule init