Install cabal library globally
[lsp-test.git] / .travis.yml
index 944f816be887a1e51eaf70831ddf02b7a7ab8a35..8b1f0833bfd547a4d16de0a446165c8a0f9c386f 100644 (file)
@@ -28,14 +28,17 @@ before_install:
 - git submodule update --init
 - cabal v2-install hie -j2
 - cabal v2-run -j2 hoogle generate
+- cabal v2-install —lib Cabal
 - cd $TRAVIS_BUILD_DIR
 - npm update
 - npm i -g javascript-typescript-langserver
+- export PATH=$HOME/.cabal/bin:$PATH
 
 install:
 - cabal v2-build
 script:
-- cabal v2-test
+    # - cabal v2-test-
+- cabal v2-run lsp-test:test:tests
 
 deploy:
   - provider: hackage