Remove capabilites since haskell-lsp now provides it
[opengl.git] / .travis.yml
index 2883617bd3186b42375d6f945a0ee2c0a37b400d..8772ea1927e2d03717b8df36c6928fd4f0c2820d 100644 (file)
@@ -1,8 +1,8 @@
-language: haskell
-
-ghc:
-  - "8.2.2"
-  - "8.4.2"
+language: haskell
+# ghc:
+#   - "8.2.2"
+#   - "8.4.2"
+language: c
 
 sudo: false
 
@@ -10,7 +10,7 @@ sudo: false
 cache:
   directories:
   - $HOME/.stack
-  - $HOME/haskell-ide-engine
+  - $HOME/haskell-ide-engine/.stack-work
 
 addons:
   apt:
@@ -25,9 +25,11 @@ before_install:
     
   - cd $HOME
   # It's ok to fail
-  - git clone https://github.com/haskell/haskell-ide-engine.git --recursive || true
   - cd haskell-ide-engine
-  - git pull
+  - git init
+  - git remote add origin https://github.com/haskell/haskell-ide-engine.git
+  - git pull origin master
+  - git submodule init
   - git submodule sync
   - git submodule update
   # - cabal new-update
@@ -41,7 +43,6 @@ before_install:
   - npm i -g javascript-typescript-langserver
 
 script:
-  - pwd
-  - ls -a
-  - cabal configure --enable-tests
-  - cabal test -j2 --show-details=streaming
+ - stack test
+  # - cabal configure --enable-tests
+  # - cabal test -j2 --show-details=streaming